Solved: How to disable dm-multipathing in Centos 6

Posted by matthewdva on 2012/1/11 16:58:40
The solution:

a. service multipathd stop
b. chkconfig multipathd off
c. remove the multipath module and rebuild the initrd.
dracut -o "multipath" no-multipath.img
boot from the new initrd. In this case it is no-multipath.img
d.Add the boot parameter rdblacklist=multipath

Re: How to disable dm-multipathing in Centos 6

Posted by pschaff on 2011/12/10 23:33:19
You could edit /boot/grub/grub.conf and add nompath and perhaps nodmraid to the kernel line.

How to disable dm-multipathing in Centos 6

Posted by matthewdva on 2011/12/8 16:39:17
How do you completely disable dm-multipathing in Centos 6 for SAN booted host.

In Centos 5, I would:
Edit /etc/fstab to on reference a single path of the device
ie:
/dev/mapper/mpath0a / .....
to
/dev/sda / ...

Edit /boot/grub/grub.conf to reference a single device path

# chkconfig multipathd off

In addition, make sure the /etc/sysconfig/mkinitrd/multipath file has the following line:
MULTIPATH=NO

Edit /etc/multipath.conf to be:
# Blacklist all devices by default. Remove this to enable multipathing
# on the default devices.
blacklist {
devnode "*"
}

mkinitrd -f /boot/initrd-`uname -r`.img `uname -r`


What are the equivalent steps in Centos 6

--
Matt

This Post was from: https://www.centos.org/newbb/viewtopic.php?forum=55&topic_id=34639