diff options
author | Bill Nottingham <notting@redhat.com> | 2005-10-03 19:14:59 +0000 |
---|---|---|
committer | Bill Nottingham <notting@redhat.com> | 2005-10-03 19:14:59 +0000 |
commit | e41cb45e2f821b773d64147f4770a19993f6c4d9 (patch) | |
tree | 475f430abfecee29816da4b97dcbc9ec6bfe9e05 | |
parent | 10aa6e9adfe56c1b21c009a9821a41c6810b4963 (diff) | |
download | initscripts-e41cb45e2f821b773d64147f4770a19993f6c4d9.tar initscripts-e41cb45e2f821b773d64147f4770a19993f6c4d9.tar.gz initscripts-e41cb45e2f821b773d64147f4770a19993f6c4d9.tar.bz2 initscripts-e41cb45e2f821b773d64147f4770a19993f6c4d9.tar.xz initscripts-e41cb45e2f821b773d64147f4770a19993f6c4d9.zip |
call kpartx on multipath devices (#160227)
-rwxr-xr-x | rc.d/rc.sysinit | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/rc.d/rc.sysinit b/rc.d/rc.sysinit index 31c694d1..f66ca6fb 100755 --- a/rc.d/rc.sysinit +++ b/rc.d/rc.sysinit @@ -333,6 +333,9 @@ if [ -c /dev/mapper/control ]; then if [ -f /etc/multipath.conf -a -x /sbin/multipath.static ] ; then modprobe dm-multipath > /dev/null 2>&1 /sbin/multipath.static -v 0 + if [ -x /sbin/kpartx ]; then + /sbin/dmsetup ls --target multipath --exec "/sbin/kpartx -a" + fi fi if [ -x /sbin/dmraid ]; then |