aboutsummaryrefslogtreecommitdiffstats
path: root/rc.d
diff options
context:
space:
mode:
authorBill Nottingham <notting@redhat.com>2005-10-03 19:14:59 +0000
committerBill Nottingham <notting@redhat.com>2005-10-03 19:14:59 +0000
commite41cb45e2f821b773d64147f4770a19993f6c4d9 (patch)
tree475f430abfecee29816da4b97dcbc9ec6bfe9e05 /rc.d
parent10aa6e9adfe56c1b21c009a9821a41c6810b4963 (diff)
downloadinitscripts-e41cb45e2f821b773d64147f4770a19993f6c4d9.tar
initscripts-e41cb45e2f821b773d64147f4770a19993f6c4d9.tar.gz
initscripts-e41cb45e2f821b773d64147f4770a19993f6c4d9.tar.bz2
initscripts-e41cb45e2f821b773d64147f4770a19993f6c4d9.tar.xz
initscripts-e41cb45e2f821b773d64147f4770a19993f6c4d9.zip
call kpartx on multipath devices (#160227)
Diffstat (limited to 'rc.d')
-rwxr-xr-xrc.d/rc.sysinit3
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