diff options
author | Harald Hoyer <harald@redhat.com> | 2009-05-04 15:45:54 +0200 |
---|---|---|
committer | Harald Hoyer <harald@redhat.com> | 2009-05-04 16:05:06 +0200 |
commit | fb6ab77065b501b2cc5c59be459fa1410b09a833 (patch) | |
tree | 2b4aceecf569f4ff2f63dc8b7fb80b979c7a0a50 /rc.d | |
parent | 0a207e16a8e8660fdd009352c022e3fb81764b35 (diff) | |
download | initscripts-fb6ab77065b501b2cc5c59be459fa1410b09a833.tar initscripts-fb6ab77065b501b2cc5c59be459fa1410b09a833.tar.gz initscripts-fb6ab77065b501b2cc5c59be459fa1410b09a833.tar.bz2 initscripts-fb6ab77065b501b2cc5c59be459fa1410b09a833.tar.xz initscripts-fb6ab77065b501b2cc5c59be459fa1410b09a833.zip |
add md activation before lvm/device-mapper in netfs (#480627)
add md activation before lvm/device-mapper in netfs, as is currently done in
rc.sysinit
Diffstat (limited to 'rc.d')
-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 fabada72..89243824 100755 --- a/rc.d/init.d/netfs +++ b/rc.d/init.d/netfs @@ -47,6 +47,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.static ]; then modprobe dm-multipath >/dev/null 2>&1 /sbin/multipath.static -v 0 |