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