From: Hannes Reinecke Date: Wed, 24 Aug 2016 10:44:31 +0000 (+0200) Subject: 90multipath: load dm_multipath module during startup X-Git-Tag: 047~21^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F361%2Fhead;p=thirdparty%2Fdracut.git 90multipath: load dm_multipath module during startup As the 'multipath' program will be triggered directly from udev events it will be called before the multipath service unit has started up. Which means we cannot rely on the service unit to load the module for us, but we rather have to do it early before udev is started. References: bsc#986734 Signed-off-by: Hannes Reinecke --- diff --git a/modules.d/90multipath/module-setup.sh b/modules.d/90multipath/module-setup.sh index 983f6f240..446dceb01 100755 --- a/modules.d/90multipath/module-setup.sh +++ b/modules.d/90multipath/module-setup.sh @@ -30,7 +30,7 @@ depends() { # called by dracut cmdline() { - for m in scsi_dh_alua scsi_dh_emc scsi_dh_rdac ; do + for m in scsi_dh_alua scsi_dh_emc scsi_dh_rdac dm_multipath; do if grep -m 1 -q "$m" /proc/modules ; then printf 'rd.driver.pre=%s ' "$m" fi