We no longer intend to use the native RedHat multipathing or dm-multipathing. How can we disable it permanently so that it can not be enabled automatically upon reboot?
To disable the native multipathing on a CentOS/RHEL 6,7 system follow the steps outlined below:
1. Edit /etc/multipath.conf and edit the blacklist{} section:
# vi /etc/multipath.conf blacklist { devnode * }
2. Stop multipathd and chkconfig daemon off:
### For CentOS/RHEL 6 ### # service multipathd stop # chkconfig multipathd off
### For CentOS/RHEL 7 ### # systemctl stop multipathd.service # systemctl disable multipathd.service
3. Rebuild initramfs and remove multipath dracut modules:
# cp /boot/initramfs-$(uname -r).img /boot/initramfs-$(uname -r).img.BAK # dracut -v -f -o multipath /boot/initramfs-$(uname -r).img $(uname -r)