Re: Any reason why we can't auto-start LVM (vg's) in the kernel?

Andreas Dilger (adilger@turbolinux.com)
Wed, 31 Jan 2001 18:14:04 -0700 (MST)


Steve, writes:
> Is there any reason why we can't auto-detect/bring up volume-groups in the
> kernel instead of creating a ramdisk volume to do a vgscan and then mount a
> rootlv?

Um, yes, because it won't work. The user tools do the I/O of LVM state
information to the disk. The kernel LVM module has no concept of how
LVM information is stored on disk.

> Just trying to see if there is a way (or would make sense) to skip the
> ramdisk stage in mounting a root logical volume.

Need to re-write (or at least seriously enhance) the LVM kernel code to do
this. Sorry.

Cheers, Andreas

-- 
Andreas Dilger  \ "If a man ate a pound of pasta and a pound of antipasto,
                 \  would they cancel out, leaving him still hungry?"
http://www-mddsp.enel.ucalgary.ca/People/adilger/               -- Dogbert
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/