4.4. Configuration file multipaths section
The multipaths section allows customization of specific multipath devices by WWID, overriding global settings with device-specific configurations like aliases and path policies.
Set attributes of individual multipath devices by using the multipaths section of the /etc/multipath.conf configuration file. Device Mapper (DM) Multipath uses these attributes to override all other configuration settings, including those from the overrides section.
The multipaths section recognizes only the multipath subsection as an attribute. The following table shows the attributes that you can set in the multipath subsection, for each specific multipath device. These attributes apply only to one specified multipath. If several multipath subsections match a specific device World Wide Identifier (WWID), the contents of those subsections merge. The settings from latest entries have priority over any previous versions. For more information, see the multipath.conf(5) man page on your system.
| Attribute | Description |
|---|---|
|
|
Specifies the WWID of the multipath device, to which the multipath attributes apply. This parameter is mandatory for this section of the |
|
|
Specifies the symbolic name for the multipath device, to which the multipath attributes apply. If you are using |
The following example shows multipath attributes specified in the configuration file for two specific multipath devices. The first device has a WWID of 3600508b4000156d70001200000b0000 and a symbolic name of yellow.
The second multipath device in the example has a WWID of 1DEC_321816758474 and a symbolic name of red.
例 4.1. Multipath attributes specification
multipaths {
multipath {
wwid 3600508b4000156d70001200000b0000
alias yellow
path_grouping_policy multibus
path_selector "round-robin 0"
failback manual
no_path_retry 5
}
multipath {
wwid 1DEC_321816758474
alias red
}
}