entry in the
blacklist
section of the configuration file.
The following example shows the lines in the configuration file that would blacklist a device with
a WWID of 26353900f02796769.
blacklist {
wwid 26353900f02796769
}
2.2. Blacklisting By Device Name
You can blacklist device types by device name so that they will not be grouped into a multipath
device by specifying a
devnode
entry in the
blacklist
section of the configuraion file.
The following example shows the lines in the configuration file that would blacklist all SCSI
devices, since it blacklists are sd* devices.
blacklist {
devnode "^sd[a-z]"
}
You can use a
devnode
entry in the
blacklist
section of the configuraion file to specify
individual devices to blacklist rather than all devices of specific type; this is not recommended,
however. Unless it is statically mapped by
udev
rules, there is no guarantee that a specific
device will have the same name on reboot. For example, a device name could change from
/dev/sda
to
/dev/sdb
on reboot.
By default, the following
devnode
entries are compiled in the default blacklist; the devices that
these entires blacklist do not generally support DM-Multipath. To enable multipathing on any of
these devices, you would need to specify them in the
blacklist_exceptions
section of the
configuration file, as described in
Section 2.4, “Blacklist Exceptions”
.
blacklist {
devnode "^(ram|raw|loop|fd|md|dm-|sr|scd|st)[0-9]*"
devnode "^hd[a-z]"
}
2.3. Blacklisting By Device Type
You can specify specific device types in the
blacklist
section of the configuration file with a
device
section. The following example blacklists all IBM DS4200 device and all HP devices.
blacklist {
device {
Blacklisting By Device Name
19
Содержание DEVICE-MAPPER MULTIPATH 5.2
Страница 4: ...Using Device Mapper Multipath ...
Страница 6: ...vi ...
Страница 10: ...x ...
Страница 16: ...6 ...
Страница 19: ...Multipath Devices in Logical Volumes 9 ...
Страница 20: ...10 ...
Страница 26: ...16 ...
Страница 38: ...28 ...