Summary: | bug in startup scripts concerning LVM | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Thilo Bangert (RETIRED) (RETIRED) <bangert> |
Component: | [OLD] Core system | Assignee: | Martin Schlemmer (RETIRED) <azarah> |
Status: | RESOLVED FIXED | ||
Severity: | major | ||
Priority: | High | ||
Version: | unspecified | ||
Hardware: | x86 | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
Thilo Bangert (RETIRED) (RETIRED)
2002-04-05 15:41:14 UTC
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. |