[linux-lvm] pvresize complains about too many metadata

Fabio Coatti fabio.coatti at gmail.com
Sun Nov 30 13:53:50 UTC 2008


2008/11/30 Alasdair G Kergon <agk at redhat.com>:
> 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.
>


Thanks for your explanation, really helpful. Now I can understand
what's going up.

Thanks.




More information about the linux-lvm mailing list