aboutsummaryrefslogtreecommitdiffstats
path: root/rc.d/rc.sysinit
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:44:39 -0400
commit861196445a1cf1e86a9ab8d74c5ff4c3d9c75b39 (patch)
treef989b4b8c1bc30f2638f5e1bf00c7066d7924096 /rc.d/rc.sysinit
parente7147f08077a63d2ca4d256f00764c2e5433da06 (diff)
downloadinitscripts-861196445a1cf1e86a9ab8d74c5ff4c3d9c75b39.tar
initscripts-861196445a1cf1e86a9ab8d74c5ff4c3d9c75b39.tar.gz
initscripts-861196445a1cf1e86a9ab8d74c5ff4c3d9c75b39.tar.bz2
initscripts-861196445a1cf1e86a9ab8d74c5ff4c3d9c75b39.tar.xz
initscripts-861196445a1cf1e86a9ab8d74c5ff4c3d9c75b39.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/rc.sysinit')
-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 803df568..aa056d9b 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 ] && [ -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