[linux-lvm] SuSE/LVM boot problem

Andi Kleen ak at suse.de
Wed May 31 09:01:28 UTC 2000

On Wed, May 03, 2000 at 09:53:26AM -0700, dgould at suse.com wrote:
> If I have understood this, we need the following to make this
> work (some of this may already exist):
>  - lvm needs to provide an way for other programs to translate logical
>    blocks to physical

A physical equivalent to FIBMAP. Not too hard to implement I think.  

>  - lvm needs to have a way of tracking/enforcing/satisfying the constraint
>    that specified lvs need to be in the bios bootable physical area

That's pretty much impossible. How would e.g. LVM find out that the scsi
controller of disk X does not have a boot rom? You have to trust the user there.

>  - lilo needs to understand about lvm and use the lvm provided ways to
>    get physical mappings.

That's complicated. Someone did a similar hack for RAID0, but LVM is more
complicated than MD RAID0. Better just supply the real block numbers to lilo
and rerun it as needed (LVM could warn about it) 

>  - the kernel needs to be able to reconstruct enough of the lvm
>    descriptors to mount / at boot time.

That's handled in the initrd (lilo loads kernel + initrd, initrd contains
LVM tools) 


More information about the linux-lvm mailing list