Skip to contentSkip to conversation

LVM support for LILO

linux-lvm Andreas Dilger 1 participant 1 message Sep 8, 2000

lore
Share & tools
lore
#0 lore raw
Quoted 1 line · Heinz

We would need at least an additional "allocation on a single device"

The "contiguous" option to lvcreate should be enough, since the /boot LV will be relatively small (1 or 2 PEs). If it ever does cross two PVs, LILO will detect this with Andi's patch, so no need to make LVM more complicated.

Quoted 2 lines · Luca

beware that bios addressable might mean below cylinder 1024 if your bios doesn't handle lba32

LILO already checks this, since we will be passing the raw disk block numbers to LILO, so it will be no different than a regular /boot. The one benefit of a full LVM system is that if you need to grow /boot, but you have a 1024 cylinder BIOS limit, you can still do this by migrating a PE of another LV away from the end of the boot LV, and then extending the boot LV.

Quoted 2 lines · Heinz

... need a "don't pvmove" status flag for the LV to ensure that no wrong pvmove(8) can happen.

Quoted 2 lines · Luca

i'd like to be able to pvmove even the boot lv (i.e. i am migrating to a larger disk)

As for the "don't move" status flag, this _may_ be useful, but people already can't move their kernels out of /boot, so this is probably not that big of an issue. I would rather keep things simple. It will not happen very often that people move /boot, and with newer systems, there are fewer BIOS limits so it may even be _more_ confusing if people can't move /boot when they want.

Cheers, Andreas