aboutsummaryrefslogtreecommitdiffstats
path: root/rc.d
diff options
context:
space:
mode:
authorBill Nottingham <notting@redhat.com>2010-01-11 12:27:46 -0500
committerBill Nottingham <notting@redhat.com>2010-01-11 12:30:03 -0500
commit66a5d62c8a2c584d49675d72669dedd5552bea33 (patch)
tree23d8cf64699745e7c1ba28ab073fb83ba31fd00a /rc.d
parent5a986067483901a57ebffc5a9427388aa6b06e70 (diff)
downloadinitscripts-66a5d62c8a2c584d49675d72669dedd5552bea33.tar
initscripts-66a5d62c8a2c584d49675d72669dedd5552bea33.tar.gz
initscripts-66a5d62c8a2c584d49675d72669dedd5552bea33.tar.bz2
initscripts-66a5d62c8a2c584d49675d72669dedd5552bea33.tar.xz
initscripts-66a5d62c8a2c584d49675d72669dedd5552bea33.zip
Move mdadm after dmraid. (#494821)
Diffstat (limited to 'rc.d')
-rwxr-xr-xrc.d/rc.sysinit6
1 files changed, 3 insertions, 3 deletions
diff --git a/rc.d/rc.sysinit b/rc.d/rc.sysinit
index c186bb74..05bfe9f4 100755
--- a/rc.d/rc.sysinit
+++ b/rc.d/rc.sysinit
@@ -339,9 +339,6 @@ action $"Setting hostname ${HOSTNAME}: " hostname ${HOSTNAME}
# Sync waiting for storage.
{ rmmod scsi_wait_scan ; modprobe scsi_wait_scan ; rmmod scsi_wait_scan ; } >/dev/null 2>&1
-# Start any MD RAID arrays that haven't been started yet
-[ -f /etc/mdadm.conf -a -x /sbin/mdadm ] && /sbin/mdadm -As --auto=yes --run
-
# Device mapper & related initialization
if ! __fgrep "device-mapper" /proc/devices >/dev/null 2>&1 ; then
modprobe dm-mod >/dev/null 2>&1
@@ -375,6 +372,9 @@ if ! strstr "$cmdline" nodmraid && [ -x /sbin/dmraid ]; then
fi
fi
+# Start any MD RAID arrays that haven't been started yet
+[ -f /etc/mdadm.conf -a -x /sbin/mdadm ] && /sbin/mdadm -As --auto=yes --run
+
if [ -x /sbin/lvm ]; then
action $"Setting up Logical Volume Management:" /sbin/lvm vgchange -a y --ignorelockingfailure
fi