LVM the gentoo way works fine: I highly recommend for any system needing
multiple partitions

http://www.gentoo.org/doc/en/lvm2.xml

After a disk failure (one of a two disk raid zero stripe), I added the
new disk as LVM2, copied the files that I could salvage over and then
did an emerge -e world to fix what was damaged/missing.

The last step was to reclaim each of the partitions on the remaining
good disk and add them to the LVM (actually I just fdisked it all into
one big partition except swap.  My file system sizes  (reiserfs) have
now changed a couple of times, the LVM now runs across both disks (200G
and 60G).  It took just 5 mins (mostly re-reading the docs) to add 12G
to my /tmp when I ran out of space during a file conversion project - it
was just so nice!

BillK


On Tue, 2005-02-22 at 21:37 -0500, Brett I. Holcomb wrote:
> Maybe all that complicated junk is if you want to put root on an LVM. 
> I've only done one LVM2 so far on FC2/3 and it worked fine but I left 
> /boot and /root off the LVM - it wasn't part of it.  I' have a system that 
> I'm going to install Gentoo on and use LVM2 and udev so Holly's experience 
> is encouraging.
> 
> 
>   On Tue, 22 Feb 2005, 
> Eric S. Johansson wrote:
> 
> > Holly Bostick wrote:
> >> 
> >>  I've never used genkernel, and I had lvm2 and udev working perfectly well 
> >>  together-- do you have the root partition on LVM or something (I didn't)?
> >
> > no.
> >
> >
> >>  Even so, that's related to initrd generation, which is not the exclusive 
> >>  province of genkernel.
> >> 
> >>  I'm confused.
> >
> > so am I but for an entirely different reason ;-)
> >
> > so far, all the documentation I have seen speaks of creating either 
> > incredibly complicated large initrd images with mounting them up and 
> > copying 
> > in many file systems and all that crap.  The other threads says just use 
> > genkernel and all will be much happy goodness.
> >
> > Since I'm trying to build xen on the system and have really no idea what my 
> > partition sizes are going to be, I really need lvm2.  at times like these, 
> > I 
> > remind myself that most problems with computers are self-inflicted..
> >
> > so I would welcome some suggestions on what's the best way to get udev and 
> > lvm working.
> >
> > --- eric
> >
> >
> 

--
[email protected] mailing list

Reply via email to