Multipath Blacklisting Local Disks
This document (3970086) is provided subject to the disclaimer at the end of this document.
Environment
SUSE Linux Enterprise Server 10
SUSE Linux Enterprise Server 9
Situation
Resolution
blacklist { devnode "^(ram|raw|loop|fd|md|dm-|sr|scd|st)[0-9]*" devnode "^hd[a-z][0-9]*" devnode "^cciss!c[0-9]d[0-9].*" }The first line blacklists devices which should not normally be managed by multipath. This is correct for most systems and should not require modification. The second and third devnode lines commonly require modification.
The second devnode line blacklists typical IDE (PATA) disks and partitions. If the local disks are PATA (as opposed to SATA or SCSI), this entry should be kept to ensure these disks are not managed by multipath.
The third devnode line is used to blacklist HP Smart Array Controller SA5xxx or SA6xxx devices (cciss). On HP hardware using this type of controller, this blacklist is important as multipath can assume control of these devices and cause difficulty booting. With the move to libudev the cciss device links have changed . Please use devnode "^cciss.c[0-9]d[0-9].*" for blacklisting. And if anything the blacklist is wrong, even for SP2. cciss device nodes (and that is what the 'devnode' property matches on) always has been of the form /dev/cciss/cXdYpZ. The '!' syntax is only to be found in sysfs, so it would only work if matching against the sysfs path.
In the event that the server has a local SATA or SCSI controller, the local disks will typically be named 'sda' or 'sdb'. In this case, the naming of these devices matches the names normally assigned to LUNs on a SAN - which multipath should manage. In order to distinguish between local 'sd*' devices and 'sd*' devices on a SAN, the blacklist syntax is important:
devnode "sd[a-b]$"
In addition to the above examples, a final method of blacklisting device is by specifying the appropriate vendor and product, as in the following example:
blacklist { device { vendor DELL product Perc* } }
The correct vendor and product names can be found in the output of `lsscsi`.
Disclaimer
This Support Knowledgebase provides a valuable tool for SUSE customers and parties interested in our products and solutions to acquire information, ideas and learn from one another. Materials are provided for informational, personal or non-commercial use within your organization and are presented "AS IS" WITHOUT WARRANTY OF ANY KIND.
- Document ID:3970086
- Creation Date: 05-Oct-2007
- Modified Date:15-Mar-2021
-
- SUSE Linux Enterprise Server
For questions or concerns with the SUSE Knowledgebase please contact: tidfeedback[at]suse.com