[linux-lvm] main drive fail

Heinz J. Mauelshagen Mauelshagen at sistina.com
Thu May 17 15:44:23 UTC 2001


On Thu, May 17, 2001 at 03:35:50PM +0200, Dominique LARCHEY-WENDLING wrote:
> Thomas Inglis wrote:
> > 
> > Thomas, Did you restore the lvm related entries in /etc ?
> > Well, using
> >    vgcfgrestore -nlvmGroup /dev/hdb1         (thx Dominque)
> > says that /etc/lvmconf/lvmGroup.conf doesnt exists, backup not available.
> 
> You are not supposed to loose these files .... aie ;-(

Correct :-(

Do you have a backup on tape or somewhere?


> As I understand, there is a copy of this info. on every phys. volume.

A lot of parts are redundantly stored on every physical volume.
*But* you need the PV structure *and* the PE mapping table (that's the one
which translates between LV and PV addresses) which is in
/etc/lvmconf/VGName.conf or deaper in the history (default depth 10) kept there.

> But it seems no utility exist for restoring this info. into
> /etc/lvmconf/...

It wouldn't help because the above unique information isn't on any of
the other physical volumes.

> 
> What does pvscan give you ?

Likely all but the crahed one PV.

In case you have a recent backup of /etc/lvmconf/*, you can make use of
that to vgcfgrestore your PV and run vgscan.

> 
> And I did not understand if you also want to recover the
> data in the volume group lvmGroup ? (it would be simpler if not ...)
> 
> DL
> 
> -- 
> Dominique Larchey
> LORIA, Nancy, France
> Tel. (Work) +33 (0) 3 83 59 20 13
> _______________________________________________
> linux-lvm mailing list
> linux-lvm at sistina.com
> http://lists.sistina.com/mailman/listinfo/linux-lvm

-- 

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 at Sistina.com                           +49 2626 141200
                                                       FAX 924446
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-



More information about the linux-lvm mailing list