[linux-lvm] Chicken and egg problem..

Brian J. Murrell 4fb38711a90b276be2ad0dff3761129b at interlinx.bc.ca
Wed Nov 21 12:36:07 UTC 2001


On Wed, Nov 21, 2001 at 01:53:17PM +0100, Georges Giralt wrote:
> 
> As I've previously said, I plan to make my RedHat 7.1 (kernel 2.4.5) a pure LVM 
> machine.
> To do so, I've build the 1.0.4 version of LVM into the kernel (with the NCR SCSI 
> driver). As to avoid an initrd. Simple is beautifull...

Simple might be beautiful but compiling LVM into the kernel does not
alleviate the need for an initrd if your root fs is on an LVM device.

> In the sysinit rc script, Redhat has put a vg activation command, but....
> My kernel panics, as it is unable to mount root, as the LVM activation commands 
> are after the root fsck (and mount..)
> 
> If I put the LVM activation lines early, in the sysinit script, these commands 
> complains beeing not able to access /etc/lvmtab....

Now you know why you need an initrd.  :-)

b.

-- 
Brian J. Murrell




More information about the linux-lvm mailing list