[linux-lvm] vg recovery after PV failure
Heinz J . Mauelshagen
mauelshagen at sistina.com
Wed Apr 10 09:05:02 UTC 2002
in case "a bit odd" means a HW flaw, you need to vgcfgrestore the LVM metadata
back onto a sane device. You can even "vgcfgrestore -i" to a disk with
different size, bacause you loose the data on the old flaky disk anyway
(assuming it is completely inaccessable) :-(
If your friend had all LVs striped onto both PVs, data is lost anyway.
Hint: backups are your friends friends.
On Mon, Apr 08, 2002 at 07:43:44PM +0100, Eamonn Hamilton wrote:
> Hi Folks.
> I'm attempting to recover a VG on a friends system after one of the PVs
> started acting a bit odd. The VG appears to say that it has no PVs
> associated with it, and a vgscan only finds the second PV on the disk. A
> pvdisplay, however, show both physical volumes have what appears to be
> the correct information and extents.
> I'm basically wondering how do I get these two physical volumes
> associated again, and is there any way to determine how they were put
> topgether, i.e. were they striped? Also, is there any way to get the
> information off the non-dodgy disk ( it's ext3, btw ).
> linux-lvm mailing list
> linux-lvm at sistina.com
> read the LVM HOW-TO at http://www.sistina.com/lvm/Pages/howto.html
Heinz -- The LVM Guy --
*** Software bugs are stupid.
Nevertheless it needs not so stupid people to solve them ***
Heinz Mauelshagen Sistina Software Inc.
Senior Consultant/Developer Am Sonnenhang 11
Mauelshagen at Sistina.com +49 2626 141200
More information about the linux-lvm