
58
SLES 10 SP3: Storage Administration Guide
no
vd
ocx
(e
n)
7 Ja
nua
ry 201
0
multipath {
wwid 26353900f02796769
alias sdd4l0
}
6
Save your changes, then close the file.
Blacklisting Non-Multipathed Devices in /etc/multipath.conf
The
/etc/multipath.conf
file should contain a
blacklist
section where all non-multipathed
devices should be listed. For example, local IDE hard drives and floppy drives are not normally
multipathed. If you have single-path devices that multipath is trying to manage and you want
multipath
to ignore them, put them in the
blacklist
section to resolve the problem.
NOTE:
In SLES 10 SP3, 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 would blacklist 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:
Содержание LINUX ENTERPRISE SERVER 10 SP3 - ARCHITECTURE-SPECIFIC
Страница 4: ...4 SLES 10 SP3 Storage Administration Guide novdocx en 7 January 2010...
Страница 30: ...30 SLES 10 SP3 Storage Administration Guide novdocx en 7 January 2010...
Страница 42: ...42 SLES 10 SP3 Storage Administration Guide novdocx en 7 January 2010...
Страница 76: ...76 SLES 10 SP3 Storage Administration Guide novdocx en 7 January 2010...
Страница 108: ...108 SLES 10 SP3 Storage Administration Guide novdocx en 7 January 2010...
Страница 118: ...118 SLES 10 SP3 Storage Administration Guide novdocx en 7 January 2010...
Страница 124: ...124 SLES 10 SP3 Storage Administration Guide novdocx en 7 January 2010...
Страница 132: ...132 SLES 10 SP3 Storage Administration Guide novdocx en 7 January 2010...