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:27:46 -0500
commit8e6447b4df30a77a005bf7d1ab6d91e2aca9bba9 (patch)
tree764fd08be4530100e1c9e1921e54e2f5345d0c1d /rc.d
parent20dd9d76ff20ebda43ba37754eb02cca42d47095 (diff)
downloadinitscripts-8e6447b4df30a77a005bf7d1ab6d91e2aca9bba9.tar
initscripts-8e6447b4df30a77a005bf7d1ab6d91e2aca9bba9.tar.gz
initscripts-8e6447b4df30a77a005bf7d1ab6d91e2aca9bba9.tar.bz2
initscripts-8e6447b4df30a77a005bf7d1ab6d91e2aca9bba9.tar.xz
initscripts-8e6447b4df30a77a005bf7d1ab6d91e2aca9bba9.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 39b7e439..2713dd83 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