[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: [linux-lvm] main drive fail

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 sistina com
> http://lists.sistina.com/mailman/listinfo/linux-lvm


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

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]