Re: [Hampshire] RAID and LVM boot disks

Top Page

Reply to this message
Author: Vic
Date:  
To: hampshire
Subject: Re: [Hampshire] RAID and LVM boot disks

> Things are simpler with / outside of the lvm, but its not that hard to
> keep it in these days


There's an interesting bug in mkinitrd that ships with RHEL4/5 (or did
last time I looked, anyway)...

When determining the modules to put into initrd, it checks to see if the
root fs is in LVM, and if so, adds the modules. Conversely, if / is not in
LVM, the modules doesn't get added.

This gets interesting when you boot with filesystems in LVM mentioned in
fstab, but not / - there is no LVM module in initrd, so it can't mount
them. A panic ensues :-(

I just build everything excetp /boot into LVM these days. It makes life a
lot easier when dealing with customers who have completely misunderstood
how they're going to use their box...

Vic.