[linux-lvm] pvresize complains about too many metadata

Alasdair G Kergon agk at redhat.com
Sun Nov 30 12:34:40 UTC 2008


On Sat, Nov 29, 2008 at 04:13:31PM +0100, Fabio Coatti wrote:
>   /dev/md1: too many metadata areas for pvresize

That's meant to be saying you chose to place a second copy of the metadata at
the end of the device and if you want to increase the size of the data area you
have to shift that metadata first and there is no code that does that.

Workaround is to reduce to 1 metadata area first (backup VG, redo pvcreate with
uuid & restorefile, restore VG), then extend, then put the 2nd metadata area
back (same process) if you still want it.

Alasdair
-- 
agk at redhat.com




More information about the linux-lvm mailing list