diff options
author | Bill Nottingham <notting@redhat.com> | 2010-04-09 15:44:39 -0400 |
---|---|---|
committer | Bill Nottingham <notting@redhat.com> | 2010-04-09 15:46:28 -0400 |
commit | d5d1ab095c78be58b8844646873aaec90adfd964 (patch) | |
tree | 78cd3947b25b7e72f02ffae100a4f494cd79d279 /rc.d | |
parent | 1320c076ada00f073b6594d544244638aa44da63 (diff) | |
download | initscripts-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-x | rc.d/rc.sysinit | 2 |
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 |