博客
关于我
强烈建议你试试无所不能的chatGPT,快点击我
Centos 6.5 Multipath 初始配置
阅读量:5442 次
发布时间:2019-06-15

本文共 2694 字,大约阅读时间需要 8 分钟。

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

转载于:https://www.cnblogs.com/Kconnie/p/4687923.html

你可能感兴趣的文章
POJ 3522 Slim Span 最小差值生成树
查看>>
[AlwaysOn Availability Groups]DMV和系统目录视图
查看>>
nginx js、css多个请求合并为一个请求(concat模块)
查看>>
Java系列:《Java核心技术 卷一》学习笔记,chapter11 记录日志
查看>>
python --装饰器
查看>>
zoj 1008 Gnome Tetravex
查看>>
fusionchart实现ZoomLine 资源 破解版 出口能力
查看>>
Art-Directing SVG图像viewBox属性
查看>>
Java面试题:Servlet是线程安全的吗?
查看>>
HDU 4932 贪心
查看>>
apache开源项目-- Velocity
查看>>
[读书笔记]C#学习笔记一: .Net Framwork
查看>>
Fiddler工具的基本功能(转)
查看>>
使用 InstallShield limited edition 打包部署Outlook 2013 Office add-in插件
查看>>
@CentOS环境下Java开发环境的搭建
查看>>
关于云与持续集成杂谈
查看>>
Centos7 修改硬件时间和系统时间
查看>>
Selected SVN connector library is not available or cannot be loaded
查看>>
C# ComboBox自动完成功能的示例
查看>>
Java中的 List Set Map
查看>>