
Managing Multipath I/O for Devices
59
no
vd
ocx
(e
n)
7 Ja
nua
ry 201
0
NOTE:
The keyword devnode_blacklist has been deprecated and replaced with the keyword
blacklist.
For example, to blacklist local devices and all arrays from the
cciss
driver from being managed by
multipath, the
blacklist
section looks like this:
blacklist {
wwid 26353900f02796769
devnode "^(ram|raw|loop|fd|md|dm-|sr|scd|st|sda)[0-9]*"
devnode "^hd[a-z][0-9]*"
devnode "^cciss!c[0-9]d[0-9].*"
}
You can also blacklist only the partitions from a driver instead of the entire array. For example, using
the following regular expression blacklists only partitions from the cciss driver and not the entire
array:
^cciss!c[0-9]d[0-9]*[p[0-9]*]
After you modify the
/etc/multipath.conf
file, you must run
mkinitrd
to re-create the INITRD
on your system, then reboot in order for the changes to take effect.
Afterwards, the local devices should no longer be listed in the multipath maps when you issue the
multipath -ll
command.
Configuring Default Multipath Behavior in /etc/multipath.conf
The
/etc/multipath.conf
file should contain a
defaults
section where you can specify default
behaviors. If the field is not otherwise specified in a
device
section, the default setting is applied for
that SAN configuration.
The following defaults section specifies a simple failover policy:
defaults {
multipath_tool "/sbin/multipath -v0"
udev_dir /dev
polling_interval 10
default_selector "round-robin 0"
default_path_grouping_policy failover
default_getuid "/sbin/scsi_id -g -u -s /block/%n"
default_prio_callout "/bin/true"
default_features "0"
rr_min_io 100
failback immediate
NOTE:
In the
default_getuid
command line, use the path
/sbin/scsi_id
as shown in the
above example instead of the sample path of
/lib/udev/scsi_id
that is found in the sample file
/
usr/share/doc/packages/multipath-tools/multipath.conf.synthetic
file (and in the
default and annotated sample files).
Configuring Default Settings for zSeries in /etc/multipath.conf
Testing of the IBM zSeries device with multipathing has shown that the dev_loss_tmo parameter
should be set to 90 seconds, and the fast_io_fail_tmo parameter should be set to 5 seconds. If you
are using zSeries devices, modify the
/etc/multipath.conf
file to specify the values as follows:
Содержание LINUX ENTERPRISE SERVER 11 - STORAGE ADMINISTRATION GUIDE 2-23-2010
Страница 4: ...4 SLES 11 Storage Administration Guide novdocx en 7 January 2010...
Страница 10: ...10 SLES 11 Storage Administration Guide novdocx en 7 January 2010...
Страница 12: ...12 SLES 11 Storage Administration Guide novdocx en 7 January 2010...
Страница 24: ...24 SLES 11 Storage Administration Guide novdocx en 7 January 2010...
Страница 34: ...34 SLES 11 Storage Administration Guide novdocx en 7 January 2010...
Страница 78: ...78 SLES 11 Storage Administration Guide novdocx en 7 January 2010...
Страница 88: ...88 SLES 11 Storage Administration Guide novdocx en 7 January 2010...
Страница 98: ...98 SLES 11 Storage Administration Guide novdocx en 7 January 2010...
Страница 108: ...108 SLES 11 Storage Administration Guide novdocx en 7 January 2010...
Страница 130: ...130 SLES 11 Storage Administration Guide novdocx en 7 January 2010...
Страница 134: ...134 SLES 11 Storage Administration Guide novdocx en 7 January 2010...