4.5. Configuration file devices section
The devices section defines configuration settings for specific storage controller types, identified by vendor, product, and revision patterns to optimize multipath behavior per device.
Use the devices section of the multipath.conf configuration file to define settings for individual storage controller types. Values set in this section overwrite specified values in the defaults section.
The system identifies the storage controller types by the vendor, product, and revision keywords. These keywords are regular expressions and must match the sysfs information about the specific device.
The devices section recognizes only the device subsection as an attribute. If there are multiple keyword matches for a device, the attributes of all matching entries apply to it. If an attribute is specified in several matching device subsections, later versions of entries have priority over any previous entries. For more information, see the multipath.conf(5) man page on your system
Configuration attributes in the latest version of the device subsections override attributes in any previous devices subsections and from the defaults section.
The following table shows the attributes that you can set in the device subsection.
| Attribute | Description |
|---|---|
|
| Specifies the regular expression to match the device vendor name. This is a mandatory attribute. |
|
| Specifies the regular expression to match the device product name. This is a mandatory attribute. |
|
| Specifies the regular expression to match the device product revision. If the revision attribute is missing, all device revisions match. |
|
|
Multipath uses this attribute to create a device |
|
| Shows the vendor specific Vital Product Data (VPD) page information, using the VPD page abbreviation. |
|
The | |
|
| Specifies the hardware handler to use for a particular device type. All possible values are hardware dependent and include: |
|
| |
|
| |
|
| |
|
| |
|
| |
|
The default value is |
Linux kernels, versions 4.3 and newer, automatically attach a device handler to known devices. This includes all devices supporting SCSI-3 ALUA). The kernel does not enable changing the handler later on. Setting the hardware_handler attribute for such devices on these kernels takes no effect.