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