diff options
author | Bill Nottingham <notting@redhat.com> | 2009-03-11 13:09:40 -0400 |
---|---|---|
committer | Bill Nottingham <notting@redhat.com> | 2009-03-11 13:09:40 -0400 |
commit | bd403c37fc1593cfbdaaa4abc7d0dd7da19c4b18 (patch) | |
tree | 140b1fcc68d2ee08b8e397e42ccf3aa8c489de2e /rc.d/init.d/netfs | |
parent | 1cece48f37802e7ae31357048dbfa74a9f7ec02f (diff) | |
download | initscripts-bd403c37fc1593cfbdaaa4abc7d0dd7da19c4b18.tar initscripts-bd403c37fc1593cfbdaaa4abc7d0dd7da19c4b18.tar.gz initscripts-bd403c37fc1593cfbdaaa4abc7d0dd7da19c4b18.tar.bz2 initscripts-bd403c37fc1593cfbdaaa4abc7d0dd7da19c4b18.tar.xz initscripts-bd403c37fc1593cfbdaaa4abc7d0dd7da19c4b18.zip |
Support MD on iSCSI (this *SHOULD* be udev rules, but alas) (#480627)
Diffstat (limited to 'rc.d/init.d/netfs')
-rwxr-xr-x | rc.d/init.d/netfs | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/rc.d/init.d/netfs b/rc.d/init.d/netfs index e787da8b..0cc5a406 100755 --- a/rc.d/init.d/netfs +++ b/rc.d/init.d/netfs @@ -45,6 +45,9 @@ case "$1" in [ -n "$NCPFSTAB" ] && action $"Mounting NCP filesystems: " mount -a -t ncpfs [ -n "$NETDEVFSTAB" ] && { + if [ -f /etc/mdadm.conf ]; then + mdadm -A -s + fi if [ -f /etc/multipath.conf -a -x /sbin/multipath ]; then modprobe dm-multipath >/dev/null 2>&1 /sbin/multipath -v 0 |