[Gllug] LVM & RAID

Mike Brodbelt mike at coruscant.demon.co.uk
Sat Mar 4 22:17:28 UTC 2006


Daniel P. Berrange wrote:

>>Nope, there's no reason to keep the root filesystem out of LVM. The
>>only filesystem you need to do that with is /boot. I've had root in
>>LVM on all of my machines for years now. I also have a machine running
>>with ext3 on LVM on RAID1, and haven't run into any problems. It all
>>Just Works(tm). I'm using an FC4 kernel. I don't know if there are any
>>relevant differences between that and the Linus and/or Debian kernels.
>>YMMV.
> 
> 
> Indeed, the Fedora / RHEL default installation setup puts both root and swap
> on LVM, just leaving /boot on regular partition. It 'just works'. 

Presumably this is done by having the LVM tools available through an
initrd at boot? So you have the kernel and the initrd image in /boot,
and everything else in LVM?

> I've had /boot on an MD software RAID partition before, however, its
> not an entirely straightforward thing to setup - last time I checked, 
> Anaconda didn't install grub in the MBR properly on MD devices, but
> if you hack around with the tools, it is possible to do.

Yep - LILO and grub can both boot from a RAID1, and have done for a
while, though I prefer using GRUB these days.

Mike
-- 
Gllug mailing list  -  Gllug at gllug.org.uk
http://lists.gllug.org.uk/mailman/listinfo/gllug




More information about the GLLUG mailing list