5.5. Disabling multipathing by device type
Exclude entire categories of devices from multipath by specifying vendor and product info in the device section of multipath.conf. This prevents DM Multipath from grouping devices of certain models or vendors, keeping them as individual block devices.
Procedure
Display device type:
# multipathd show paths raw format "%d %s" | grep sdb sdb HP,HSV210Disable devices in the
/etc/multipath.confconfiguration file by using thedevicesection.The following example disables multipathing on all IBM DS4200 and HP devices:
blacklist { device { vendor "IBM" product "3S42" #DS4200 Product 10 } device { vendor "HP" product ".*" } }Validate the
/etc/multipath.conffile after modifying the multipath configuration file by running one of the following commands:To display any configuration errors, run:
# multipath -t > /dev/nullTo display the new configuration with the changes added, run:
# multipath -t
Reload the
/etc/multipath.conffile and reconfigure themultipathddaemon for changes to take effect:# service multipathd reload