From: Tony Likhite <tony@likhite.net>
To: linux-lvm@sistina.com
Subject: [linux-lvm] vgimport says "ERROR: wrong number of physical volumes"
Date: Thu Oct 17 10:04:53 2002 [thread overview]
Message-ID: <200210171053.03775.tony@likhite.net> (raw)
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
next reply other threads:[~2002-10-17 10:04 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-10-17 10:04 Tony Likhite [this message]
2002-10-17 10:16 ` [linux-lvm] Re: vgimport says "ERROR: wrong number of physical volumes" Tony Likhite
2002-10-17 10:40 ` Tony Likhite
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=200210171053.03775.tony@likhite.net \
--to=tony@likhite.net \
--cc=linux-lvm@sistina.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox