- Fix up directory in mdmonitor init script so that we restart mdmon like

we are supposed to
- Add a rule to run incremental assembly on containers in case there are
    multiple volumes in a container and we only started some of them in the
    initramfs
- Make -If work with imsm arrays. We had too restrictive of a test in
    sysfs_unique_holder.
This commit is contained in:
Doug Ledford 2010-04-07 13:58:54 +00:00
parent 01d2c9db17
commit 85e79a28a3

View File

@ -41,9 +41,9 @@ usage ()
start ()
{
# (Re)start mdmon to take over monitoring of mdmon started from the initrd
if [ -f /dev/.mdadm/*.pid ]; then
if [ -f /dev/md/*.pid ]; then
origprog="$prog"; prog="mdmon"
action $"Starting $prog: " /sbin/mdmon /proc/mdstat /
action $"Starting $prog: " /sbin/mdmon --takeover --all
prog="$origprog"
fi
# Make sure configuration file exists and has information we can use