All of lore.kernel.org
 help / color / mirror / Atom feed
* [linux-lvm] vg recovery after PV failure
@ 2002-04-08 13:45 Eamonn Hamilton
  2002-04-10  9:05 ` Heinz J . Mauelshagen
  0 siblings, 1 reply; 2+ messages in thread
From: Eamonn Hamilton @ 2002-04-08 13:45 UTC (permalink / raw)
  To: linux-lvm


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 ).

Cheers,

Eamonn

 

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

* Re: [linux-lvm] vg recovery after PV failure
  2002-04-08 13:45 [linux-lvm] vg recovery after PV failure Eamonn Hamilton
@ 2002-04-10  9:05 ` Heinz J . Mauelshagen
  0 siblings, 0 replies; 2+ messages in thread
From: Heinz J . Mauelshagen @ 2002-04-10  9:05 UTC (permalink / raw)
  To: linux-lvm

Eamonn,

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 ).
> 
> Cheers,
> 
> Eamonn
> 
>  
> 
> 
> 
> _______________________________________________
> linux-lvm mailing list
> linux-lvm@sistina.com
> http://lists.sistina.com/mailman/listinfo/linux-lvm
> read the LVM HOW-TO at http://www.sistina.com/lvm/Pages/howto.html

-- 

Regards,
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
                                                  56242 Marienrachdorf
                                                  Germany
Mauelshagen@Sistina.com                           +49 2626 141200
                                                       FAX 924446
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-

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

end of thread, other threads:[~2002-04-10  9:05 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-04-08 13:45 [linux-lvm] vg recovery after PV failure Eamonn Hamilton
2002-04-10  9:05 ` Heinz J . Mauelshagen

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.