From bd403c37fc1593cfbdaaa4abc7d0dd7da19c4b18 Mon Sep 17 00:00:00 2001 From: Bill Nottingham Date: Wed, 11 Mar 2009 13:09:40 -0400 Subject: Support MD on iSCSI (this *SHOULD* be udev rules, but alas) (#480627) --- rc.d/init.d/netfs | 3 +++ 1 file changed, 3 insertions(+) (limited to 'rc.d') 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 -- cgit v1.2.1