Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 14317 - gentoo fails to stop md devices
Summary: gentoo fails to stop md devices
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: High major (vote)
Assignee: Martin Schlemmer (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-01-21 16:02 UTC by Shevek
Modified: 2003-01-22 07:41 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Shevek 2003-01-21 16:02:59 UTC
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.
Comment 1 SpanKY gentoo-dev 2003-01-21 16:07:09 UTC
what version of baselayout ? `qpkg -I -v baselayout` 
Comment 2 Martin Schlemmer (RETIRED) gentoo-dev 2003-01-22 00:02:33 UTC
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.
Comment 3 Shevek 2003-01-22 07:41:20 UTC
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.