Hi, on my lvm setup i noticed that the lvm gets activated _after_ the checkfs skript is run therefor i get many error messages when the startup script wants to check my lvm "partitions" solution: the lvm startup in localmount should be place earlier - before the filesystem check gentoo ROCKS thanks Thilo
Anything special needed for LVM startup ? Like should / be mounted RW, or is RO ok ?
no, it should be fine i'll be a little more specific (just to make sure).. this is in /etc/init.d/localmount # LVM support for /usr, /home, /opt .... if [ -x /sbin/vgchange -a -f /etc/lvmtab ] then ebegin "Setting up the Logical Volume Manager" #still echo stderr for debugging /sbin/vgscan && /sbin/vgchange -a y >/dev/null eend $? "Failed to setup the LVM" fi and it works great... but when you have lvm volumes in you fstab checkfs will try to check them this fails because the devices have not been created yet, because lvm is not started up yet... so the above part should be moved from localmount to the beginning of checkfs
Understood, but since I do not use LVM, im trying to find out if you need / mounted RW to start LVM, or if it can be RO .... I want to find out how far I can take things basically ;)
doh - i did'n catch that / of course means root ;-) i believe / (root) needs to be RW as vgscan will write to /etc/lvmtab.d/ and /etc/lvmtab i don't know what happens if / is still RO
Fixed on CVS, should be in new release of baselayout soon.