Bug#827407: multipath-tools: initramfs should load same mp modules as sysvinit/sysmtemd files

Andrew Patterson andrew.patterson at hpe.com
Wed Jun 15 20:05:44 UTC 2016


Package: multipath-tools
Version: 0.6.1-3

The systemd multpath-tools.service loads multipath modules using the following
line:

ExecStartPre=/sbin/modprobe -a scsi_dh_alua scsi_dh_emc scsi_dh_rdac dm-multipath

While the sysvinit file /etc/init.d/multipath-tools-boot loads modules with:

modprobe dm-multipath 2> /dev/null || true

The /usr/share/initramfs-tools/scripts/local-top/multipath load modules using:

MP_MODULES="dm-multipath dm-emc"
for module in ${MP_MODULES}; do
  if modprobe "$module"; then
    verbose && log_success_msg "loaded module ${module}."
  else
    log_failure_msg "failed to load module ${module}."
  fi
done

All three of these methods should load the same set of modules (the
systemd one seems to be best).  Perhaps, there should be a
/etc/default/multipath-tools config file that governs which modules to
load?


-- 
Andrew Patterson
Hewlett-Packard Enterprise



More information about the pkg-lvm-maintainers mailing list