[linux-lvm] pvresize complains about too many metadata

Fabio Coatti fabio.coatti at gmail.com
Sat Nov 29 15:13:31 UTC 2008


Hi all, I'm playing a bit with lvm/raid on linux, (on a pretty
experimental box) and now I'm facing a problem that leaves me a bit
stuck

Basically, I've a volume group based on several mdraid partition
(vg1  with md0/md1/md4 as pvs)

recently I've increased the size of md1/md4 arrays by adding more
disks and /proc/mdstats shows that the operation was successful.

the  I've issued a "pvresize" command on /dev/md1 and md4 to make lvm
aware of new size, but I get the following error:

pvresize -v /dev/md1
    Using physical volume(s) on command line
    Archiving volume group "vg1" metadata (seqno 12).
  /dev/md1: too many metadata areas for pvresize
  0 physical volume(s) resized / 1 physical volume(s) not resized


pvck -v /dev/md1
    Scanning /dev/md1
  Found label on /dev/md1, sector 1, type=LVM2 001
  Found text metadata area: offset=4096, size=192512
    Found LVM2 metadata record at offset=10240, size=2048, offset2=0 size2=0
    Found LVM2 metadata record at offset=9728, size=512, offset2=0 size2=0
    Found LVM2 metadata record at offset=8192, size=1536, offset2=0 size2=0
  Found text metadata area: offset=386587820032, size=131072
    Found LVM2 metadata record at offset=386587826176, size=2048,
offset2=0 size2=0
    Found LVM2 metadata record at offset=386587824128, size=2048,
offset2=0 size2=0
    Found LVM2 metadata record at offset=386587822592, size=1536,
offset2=0 size2=0


Can someone give me some hint, to shed some light on what's going on?
obviously I've made something wrong, but I can't figure what (maybe
unusual or not the best way to increase space, ok, but I can't figure
out what's up).

Thanks for any answer.




More information about the linux-lvm mailing list