aboutsummaryrefslogtreecommitdiffstats
path: root/rc.d
diff options
context:
space:
mode:
authorBill Nottingham <notting@redhat.com>2010-04-09 15:44:39 -0400
committerBill Nottingham <notting@redhat.com>2010-04-09 15:46:28 -0400
commitd5d1ab095c78be58b8844646873aaec90adfd964 (patch)
tree78cd3947b25b7e72f02ffae100a4f494cd79d279 /rc.d
parent1320c076ada00f073b6594d544244638aa44da63 (diff)
downloadinitscripts-d5d1ab095c78be58b8844646873aaec90adfd964.tar
initscripts-d5d1ab095c78be58b8844646873aaec90adfd964.tar.gz
initscripts-d5d1ab095c78be58b8844646873aaec90adfd964.tar.bz2
initscripts-d5d1ab095c78be58b8844646873aaec90adfd964.tar.xz
initscripts-d5d1ab095c78be58b8844646873aaec90adfd964.zip
Change how we handle RAID arrays. (<dledford@redhat.com>)
Conflict with older mdadm to make sure we're in sync.
Diffstat (limited to 'rc.d')
-rwxr-xr-xrc.d/rc.sysinit2
1 files changed, 1 insertions, 1 deletions
diff --git a/rc.d/rc.sysinit b/rc.d/rc.sysinit
index bb7a15cc..bd0f0884 100755
--- a/rc.d/rc.sysinit
+++ b/rc.d/rc.sysinit
@@ -373,7 +373,7 @@ if ! strstr "$cmdline" nodmraid && [ -x /sbin/dmraid ]; then
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
+[ -r /proc/mdstat -a -r /dev/md/md-device-map ] && /sbin/mdadm -IRs
if [ -x /sbin/lvm ]; then
export LVM_SUPPRESS_LOCKING_FAILURE_MESSAGES=1