|
|
671555 |
# This is a basic configuration file with some examples, for device mapper
|
|
|
671555 |
# multipath.
|
|
|
671555 |
#
|
|
|
671555 |
# For a complete list of the default configuration values, run either
|
|
|
671555 |
# multipath -t
|
|
|
671555 |
# or
|
|
|
671555 |
# multipathd show config
|
|
|
671555 |
#
|
|
|
671555 |
# For a list of configuration options with descriptions, see the multipath.conf
|
|
|
671555 |
# man page
|
|
|
671555 |
|
|
|
671555 |
## By default, devices with vendor = "IBM" and product = "S/390.*" are
|
|
|
671555 |
## blacklisted. To enable mulitpathing on these devies, uncomment the
|
|
|
671555 |
## following lines.
|
|
|
671555 |
#blacklist_exceptions {
|
|
|
671555 |
# device {
|
|
|
671555 |
# vendor "IBM"
|
|
|
671555 |
# product "S/390.*"
|
|
|
671555 |
# }
|
|
|
671555 |
#}
|
|
|
671555 |
|
|
|
671555 |
## Use user friendly names, instead of using WWIDs as names.
|
|
|
671555 |
defaults {
|
|
|
671555 |
user_friendly_names yes
|
|
|
671555 |
find_multipaths yes
|
|
|
671555 |
}
|
|
|
671555 |
##
|
|
|
671555 |
## Here is an example of how to configure some standard options.
|
|
|
671555 |
##
|
|
|
671555 |
#
|
|
|
671555 |
#defaults {
|
|
|
671555 |
# udev_dir /dev
|
|
|
671555 |
# polling_interval 10
|
|
|
671555 |
# selector "round-robin 0"
|
|
|
671555 |
# path_grouping_policy multibus
|
|
|
1eb31d |
# uid_attribute ID_SERIAL
|
|
|
671555 |
# prio alua
|
|
|
671555 |
# path_checker readsector0
|
|
|
671555 |
# rr_min_io 100
|
|
|
671555 |
# max_fds 8192
|
|
|
671555 |
# rr_weight priorities
|
|
|
671555 |
# failback immediate
|
|
|
671555 |
# no_path_retry fail
|
|
|
671555 |
# user_friendly_names yes
|
|
|
671555 |
#}
|
|
|
671555 |
##
|
|
|
671555 |
## The wwid line in the following blacklist section is shown as an example
|
|
|
671555 |
## of how to blacklist devices by wwid. The 2 devnode lines are the
|
|
|
671555 |
## compiled in default blacklist. If you want to blacklist entire types
|
|
|
671555 |
## of devices, such as all scsi devices, you should use a devnode line.
|
|
|
671555 |
## However, if you want to blacklist specific devices, you should use
|
|
|
671555 |
## a wwid line. Since there is no guarantee that a specific device will
|
|
|
671555 |
## not change names on reboot (from /dev/sda to /dev/sdb for example)
|
|
|
671555 |
## devnode lines are not recommended for blacklisting specific devices.
|
|
|
671555 |
##
|
|
|
671555 |
#blacklist {
|
|
|
671555 |
# wwid 26353900f02796769
|
|
|
671555 |
# devnode "^(ram|raw|loop|fd|md|dm-|sr|scd|st)[0-9]*"
|
|
|
671555 |
# devnode "^hd[a-z]"
|
|
|
671555 |
#}
|
|
|
671555 |
#multipaths {
|
|
|
671555 |
# multipath {
|
|
|
671555 |
# wwid 3600508b4000156d700012000000b0000
|
|
|
671555 |
# alias yellow
|
|
|
671555 |
# path_grouping_policy multibus
|
|
|
671555 |
# path_checker readsector0
|
|
|
671555 |
# path_selector "round-robin 0"
|
|
|
671555 |
# failback manual
|
|
|
671555 |
# rr_weight priorities
|
|
|
671555 |
# no_path_retry 5
|
|
|
671555 |
# }
|
|
|
671555 |
# multipath {
|
|
|
671555 |
# wwid 1DEC_____321816758474
|
|
|
671555 |
# alias red
|
|
|
671555 |
# }
|
|
|
671555 |
#}
|
|
|
671555 |
#devices {
|
|
|
671555 |
# device {
|
|
|
671555 |
# vendor "COMPAQ "
|
|
|
671555 |
# product "HSV110 (C)COMPAQ"
|
|
|
671555 |
# path_grouping_policy multibus
|
|
|
671555 |
# path_checker readsector0
|
|
|
671555 |
# path_selector "round-robin 0"
|
|
|
671555 |
# hardware_handler "0"
|
|
|
671555 |
# failback 15
|
|
|
671555 |
# rr_weight priorities
|
|
|
671555 |
# no_path_retry queue
|
|
|
671555 |
# }
|
|
|
671555 |
# device {
|
|
|
671555 |
# vendor "COMPAQ "
|
|
|
671555 |
# product "MSA1000 "
|
|
|
671555 |
# path_grouping_policy multibus
|
|
|
671555 |
# }
|
|
|
671555 |
#}
|