]> git.pld-linux.org Git - projects/rc-scripts.git/commitdiff
- activate dm-multipath
authorElan Ruusamäe <glen@pld-linux.org>
Tue, 30 Oct 2007 16:10:31 +0000 (16:10 +0000)
committerElan Ruusamäe <glen@pld-linux.org>
Tue, 30 Oct 2007 16:10:31 +0000 (16:10 +0000)
svn-id: @8902

rc.d/rc.sysinit

index af1299d9fced2a088d53b4b186dc405aa7012a8e..8e09a864a2011130ceff2a493c6fc8f3f1622669 100755 (executable)
@@ -524,6 +524,15 @@ if ! is_yes "$VSERVER"; then
                /etc/rc.d/rc.modules
        fi
 
+       # Activate dm-multipath
+       if [ -x /sbin/multipath ]; then
+               run_cmd "Activating dm-multipath" /sbin/multipath -v 0
+               for a in /dev/mapper/*; do
+                       [ $a = /dev/mapper/control ] && continue
+                       /sbin/kpartx -a $a
+               done
+       fi
+
        if [ -x /sbin/dmraid ]; then
                run_cmd "Activating ATARAID devices" /sbin/dmraid -ay
        fi
This page took 0.039651 seconds and 4 git commands to generate.