[WBEL-users] LVM on RAID using diskdruid during RHEL setup

Kirby Bohling kbohling@birddog.com
Wed, 11 Aug 2004 14:57:43 -0500


On Wed, Aug 11, 2004 at 12:48:49PM -0700, Alex Tkachenko wrote:
> On Wed, 2004-08-11 at 10:39, Kirby Bohling wrote:
> > On Wed, Aug 11, 2004 at 11:54:07AM +0300, Alex Georgiev wrote:
> > > Hi,
> > > 
> > > Is it possible during RHEL install, using
> > > diskdruid, to setup LVM on Software raid?
> > > 
> > > I was thinking of making 2 software raid mirror1 arrays
> > > 
> > > - one for /boot and
> > > - the other one for LVM in which to
> > > create additional /, /var, /var/spool, using the
> > > advantages of LVM.
> > 
> > 	The short answer is yes you can do it, I believe in both modes.
> > I know I've done it in graphical mode.  I'm pretty sure I've done it
> > in text mode.
> > 
> > 	I do it regularly using kickstart, so I know that the installer
> > can handle it.   I don't remember using "disk druid", but rather
> > that screen they've built.  I don't think it's disk druid, but I've
> > been wrong before.
> > 
> > 	You can put everything except for /boot on LVM (you can put even
> > that on LVM if you use LILO for your boot loader, but that's
> > trickier then it's worth from what I hear).  
> > 
> > 	The only other consideration is if you want to put your swap on
> > LVM or not.  Generally, I don't, I put them on raw partitions, and
> > if I need more, I just add swap files to existing filesystems for
> > temporary needs.  However, I believe the RH startup scripts attempt
> > to add swap both before and after starting LVM.
> As I recall from our discussion about two months ago there is a problem
> with RAIDed LVM in text mode. Search WBEL mailing list archives for the
> subject "Problem with kickstart" for the workaround. GUI should not have
> any issues though.

	You might be correct, I don't have time to go do a text install
right now to check.  I know that with a kickstart, you have to add
quotes around some of the stuff in the file.  I know I've done it
thru one of the two, and I know that I've done it via kickstart
(it's how I built the kickstart file).

	Kirby