1# This is a basic configuration file with some examples, for device mapper 2# multipath. 3# For a complete list of the default configuration values, see 4# /usr/share/doc/device-mapper-multipath-0.4.9/multipath.conf.defaults 5# For a list of configuration options with descriptions, see 6# /usr/share/doc/device-mapper-multipath-0.4.9/multipath.conf.annotated 7 8## By default, devices with vendor = "IBM" and product = "S/390.*" are 9## blacklisted. To enable mulitpathing on these devies, uncomment the 10## following lines. 11#blacklist_exceptions { 12# device { 13# vendor "IBM" 14# product "S/390.*" 15# } 16#} 17 18## Use user friendly names, instead of using WWIDs as names. 19defaults { 20 user_friendly_names yes 21} 22## 23## Here is an example of how to configure some standard options. 24## 25# 26#defaults { 27# udev_dir /dev 28# polling_interval 10 29# selector "round-robin 0" 30# path_grouping_policy multibus 31# getuid_callout "/lib/udev/scsi_id --whitelisted --device=/dev/%n" 32# prio alua 33# path_checker readsector0 34# rr_min_io 100 35# max_fds 8192 36# rr_weight priorities 37# failback immediate 38# no_path_retry fail 39# user_friendly_names yes 40#} 41## 42## The wwid line in the following blacklist section is shown as an example 43## of how to blacklist devices by wwid. The 2 devnode lines are the 44## compiled in default blacklist. If you want to blacklist entire types 45## of devices, such as all scsi devices, you should use a devnode line. 46## However, if you want to blacklist specific devices, you should use 47## a wwid line. Since there is no guarantee that a specific device will 48## not change names on reboot (from /dev/sda to /dev/sdb for example) 49## devnode lines are not recommended for blacklisting specific devices. 50## 51#blacklist { 52# wwid 26353900f02796769 53# devnode "^(ram|raw|loop|fd|md|dm-|sr|scd|st)[0-9]*" 54# devnode "^hd[a-z]" 55#} 56#multipaths { 57# multipath { 58# wwid 3600508b4000156d700012000000b0000 59# alias yellow 60# path_grouping_policy multibus 61# path_checker readsector0 62# path_selector "round-robin 0" 63# failback manual 64# rr_weight priorities 65# no_path_retry 5 66# } 67# multipath { 68# wwid 1DEC_____321816758474 69# alias red 70# } 71#} 72#devices { 73# device { 74# vendor "COMPAQ " 75# product "HSV110 (C)COMPAQ" 76# path_grouping_policy multibus 77# getuid_callout "/lib/udev/scsi_id --whitelisted --device=/dev/%n" 78# path_checker readsector0 79# path_selector "round-robin 0" 80# hardware_handler "0" 81# failback 15 82# rr_weight priorities 83# no_path_retry queue 84# } 85# device { 86# vendor "COMPAQ " 87# product "MSA1000 " 88# path_grouping_policy multibus 89# } 90#} 91