Linux LVM users
 help / color / mirror / Atom feed
* [linux-lvm] vgimport says "ERROR: wrong number of physical volumes"
@ 2002-10-17 10:04 Tony Likhite
  2002-10-17 10:16 ` [linux-lvm] " Tony Likhite
  0 siblings, 1 reply; 3+ messages in thread
From: Tony Likhite @ 2002-10-17 10:04 UTC (permalink / raw)
  To: linux-lvm

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2002-10-17 10:40 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-10-17 10:04 [linux-lvm] vgimport says "ERROR: wrong number of physical volumes" Tony Likhite
2002-10-17 10:16 ` [linux-lvm] " Tony Likhite
2002-10-17 10:40   ` Tony Likhite

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox