Difference between revisions of "/etc/multipath.conf"
Jump to navigation
Jump to search
↑ http://manpages.org/multipathconf/5
↑ http://manpages.org/multipathconf/5
↑ http://manpages.org/multipathconf/5
(4 intermediate revisions by the same user not shown) | |||
Line 2: | Line 2: | ||
− | [[Ubuntu 18.04 LTS]] | + | Default [[Ubuntu 18.04 LTS]] |
− | + | cat /etc/multipath.conf | grep -v "#" | grep . | |
− | cat /etc/multipath.conf | grep -v "#" | grep . | + | defaults { |
− | defaults { | + | [[user_friendly_names]] yes |
− | user_friendly_names yes | + | } |
− | } | ||
− | |||
− | [[RHEL]] | + | Default [[RHEL]] |
<pre> | <pre> | ||
cat /etc/multipath.conf | grep -v "#" | grep . | cat /etc/multipath.conf | grep -v "#" | grep . | ||
Line 50: | Line 48: | ||
== See also == | == See also == | ||
+ | * {{multipath}} | ||
+ | * {{HBA}} | ||
* {{Linux Fibre Channel}} | * {{Linux Fibre Channel}} | ||
Latest revision as of 09:52, 20 September 2020
Default /etc/multipath.conf
[1] Configuration:
Default Ubuntu 18.04 LTS
cat /etc/multipath.conf | grep -v "#" | grep . defaults { user_friendly_names yes }
Default RHEL
cat /etc/multipath.conf | grep -v "#" | grep . defaults { polling_interval 5 no_path_retry 4 user_friendly_names no flush_on_last_del yes fast_io_fail_tmo 5 dev_loss_tmo 30 max_fds 4096 } blacklist { protocol "(scsi:adt|scsi:sbp)" } devices { device { all_devs yes no_path_retry 4 } }
Options[edit]
no_path_retry
- Specify the number of retries until disable queueing, or
fail
for immediate failure (no queueing),queue
for never stop queueing. If unset no queueing is attempted. Default is unset.
- Specify the number of retries until disable queueing, or
features
- Specify any device-mapper features to be used. Syntax is num list where num is the number of features in list. Possible values for the feature list are
queue_if_no_path
(Use carefully, see know issues in man page[2] and errata in SUSE https://www.suse.com/support/kb/doc/?id=7022310)- Queue IO if no path is active; identical to the no_path_retry keyword.
no_partitions
- Disable automatic partitions generation via kpartx.
Activities[edit]
- Change
no_path_retry
tono_path_retry "queue"
inmultipath.conf
[3] configuration options to avoidpvs
to hang : https://www.suse.com/support/kb/doc/?id=7022310
See also[edit]
multipath
,multipathd
,mpathpersist
,WWIDS
,/etc/multipath.conf
- HBA,
rescan-scsi-bus.sh
,/sys/class/fc_host/
- Fibre Channel: HBA,
multipath-tools
,multipath
,multipath -ll
,/etc/multipath.conf
multipathd
rescan-scsi-bus.sh
powermt
Device mapper
dmsetup ls
,
Advertising: