gentoo fails to stop some md devices on reboot. I have four raids: /home, /usr, /var, /tmp. gentoo fails to stop /usr. I think this is because halt.sh tries to unmount the device and run raidstop but has not killed all processes using the filesystem (some processes including metalog etc have libraries mapped) Possible solution: Implement something similar to the process-larting code used on the loopback filesystems just before that bit of halt.sh A newbie's guide to gentoo init scripts would be nice, they seem to be a bit of a maze, even compared to HP/UX 9.
what version of baselayout ? `qpkg -I -v baselayout`
Also, have a look at checkfs and halt.sh from rc-scripts-1.4.3.2 (used by baselayout-1.8.6.2). It should not be needed to halt raid, as kernel should do it auto.
This _seems_ to work fine now, at least with baselayout 1.8.5.8. I have to work out why metalog is playing up. If metalog starts working again I might get more error messages. Thanks. S.