[linux-lvm] restoration of LVM setup?

Heinz J . Mauelshagen mauelshagen at sistina.com
Wed Mar 12 09:46:02 UTC 2003


On Wed, Mar 12, 2003 at 09:24:23AM -0600, B. J. Zolp wrote:
> I am currently using Mandrake 9.0, sso if I ever installed 9.0+ I should be 
> able to see the VG with little problems.

Never tried Mandarke myself but the asnswer is yes I guess ;)

> BTW, is the metadata stored on each 
> one of the partitions in the VG?  What if one of the drives in the VG died?  

You need to replace it and restore the LVM metadata onto the new one.
If you want to avoid such SPOF you can combine LVM with MD (i.e. RAID1).

> Is the VG easially recoverable and will it still run? (minus the data lost on 
> the down drive of course)..

We've got a partial activation feature in LVM2 which can activate the
VG w/o any drive replacement.

Regards,
Heinz    -- The LVM Guy --


> 
> Thanks for the help
> 
> bjz
> 
> 
> On Wednesday 12 March 2003 06:22, Heinz J . Mauelshagen wrote:
> > On Tue, Mar 11, 2003 at 07:36:24PM -0600, Nova FIre wrote:
> > > 	I am thinking about setting up LVM on my file server and would like to
> > > know how easy it is to re-setup a LVM layout if I install a new distro.  
> > > A few times I have had one of the OS drives fail on me which required a
> > > fresh install of linux on a new drive.  But since all my file storage
> > > drives were just single ext3 partitions I could mount them and the file
> > > server was back up in no time with no loss of important data.
> > >
> > > 	How easy is it to do the same thing with a LVM setup?
> >
> > Presumably the new distro has LVM in, it is a question of
> > scanning in the LVM metadata (vgscan) and activating the VG(s) (vgchange
> > -ay).
> >
> > Depending on the distro's upgrade support that works for basic filesystems
> > on LVs (/usr, /opt, ...) as well.
> >
> > > bjz
> > >
> > > _______________________________________________
> > > linux-lvm mailing list
> > > linux-lvm at sistina.com
> > > http://lists.sistina.com/mailman/listinfo/linux-lvm
> > > read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/
> 
> 
> _______________________________________________
> linux-lvm mailing list
> linux-lvm at sistina.com
> http://lists.sistina.com/mailman/listinfo/linux-lvm
> read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/

*** 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