[linux-lvm] vgimport says "ERROR: wrong number of physical volumes"

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



The boot drive in my dual-drive system was dying, so I pvmoved all its PEs 
to the other drive and vgreduced it from its VG (rootvg).  During a reboot 
after completing the vgreduce, the boot drive died.

However, when I connected the remaining (good) drive to another system, 
vgscan reported a duplicate volume group ID (as I recall), and made a VG 
on the new machine (vg00) inaccessible.  rootvg was fine, and I was able 
to mount LVs from it, though.

To get back vg00, I vgexported rootvg.  However, now when I try to import 
it again, vgimport fails with "wrong number of physical volumes".

How can I fix this?  Is it possible to edit the definition of rootvg and 
reduce the PV count?  I'm reasonably sure that all the PEs are intact on 
the remaining drive, and the VG definition is the only thing that's off.

Thanks.

Tony

_______________________________________________
linux-lvm mailing list
linux-lvm@sistina.com
http://lists.sistina.com/mailman/listinfo/linux-lvm
read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/

[Index of Archives]     [Gluster Users]     [Kernel Development]     [Linux Clusters]     [Device Mapper]     [Security]     [Bugtraq]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]

  Powered by Linux