Blame SOURCES/multipath.conf

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