Blacklisting By Device Name; Configuration File Defaults - Red Hat DEVICE-MAPPER MULTIPATH 4.6 Configuration And Administration Manual

Table of Contents

Advertisement

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
file.
The following example shows the lines in the configuration file that would blacklist all SCSI
devices, since it blacklists are sd* devices.
devnode_blacklist {
devnode "^sd[a-z]"
}
You can use a
devnode
individual devices to blacklist rather than all devices of specific type; this is not recommended,
however. Unless it is statically mapped by
device will have the same name on reboot. For example, a device name could change from
to
/dev/sda
/dev/sdb
By default, the following
these entires blacklist do not generally support DM-Multipath.
blacklist {
devnode "^(ram|raw|loop|fd|md|dm-|sr|scd|st)[0-9]*"
devnode "^hd[a-z]"
devnode "^cciss!c[0-9]d[0-9]*"
}

3. Configuration File Defaults

The
/etc/multipath.conf
user_friendly_names
defaults {
user_friendly_names yes
}
This overwrites the default value of the
The configuration file includes a template of configuration defaults. This section is commented
entry in the
devnode
devnode_blacklist
entry in the
blacklist
udev
on reboot.
entries are compiled in the default blacklist; the devices that
devnode
configuration file includes a
parameter to
, as follows.
yes
user_friendly_names
Blacklisting By Device Name
section of the configuration
section of the configuraion file to specify
rules, there is no guarantee that a specific
section that sets the
defaults
parameter.
17

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the DEVICE-MAPPER MULTIPATH 4.6 and is the answer not in the manual?

Questions and answers

Table of Contents