5.3. Disabling multipathing by WWID
Exclude specific devices from multipath by disabling them by using their WWID in the multipath.conf file. This is useful for local disks, single-path devices, or storage needing special handling outside the multipath framework.
Procedure
Find WWID of a device:
# multipathd show paths raw format "%d %w" | grep sdb sdb 3600508b4001080520001e00011700000Disable devices in the
/etc/multipath.confconfiguration file by using thewwidentry.The following example shows the lines in the DM Multipath configuration file that disable a device with a WWID of
3600508b4001080520001e00011700000:blacklist { wwid 3600508b4001080520001e00011700000 }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