From 85e79a28a3fb72e3b1757ab902193b01405dbf48 Mon Sep 17 00:00:00 2001 From: Doug Ledford Date: Wed, 7 Apr 2010 13:58:54 +0000 Subject: [PATCH] - 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. --- mdmonitor.init | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/mdmonitor.init b/mdmonitor.init index d7b68fb..1be12c9 100755 --- a/mdmonitor.init +++ b/mdmonitor.init @@ -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