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
(13 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
− | Default <code>/etc/multipath.conf</code><ref>http://manpages.org/multipathconf/5</ref> | + | Default <code>/etc/multipath.conf</code><ref>http://manpages.org/multipathconf/5</ref> Configuration: |
+ | |||
+ | |||
+ | Default [[Ubuntu 18.04 LTS]] | ||
+ | cat /etc/multipath.conf | grep -v "#" | grep . | ||
+ | defaults { | ||
+ | [[user_friendly_names]] yes | ||
+ | } | ||
+ | |||
+ | |||
+ | Default [[RHEL]] | ||
<pre> | <pre> | ||
− | |||
cat /etc/multipath.conf | grep -v "#" | grep . | cat /etc/multipath.conf | grep -v "#" | grep . | ||
defaults { | defaults { | ||
Line 29: | Line 38: | ||
: <code>features</code> | : <code>features</code> | ||
: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 | :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 | ||
− | ::<code>queue_if_no_path</code> (Use carefully, see know issues in man page<ref>http://manpages.org/multipathconf/5</ref>) | + | ::<code>queue_if_no_path</code> (Use carefully, see know issues in man page<ref>http://manpages.org/multipathconf/5</ref> 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. | :::Queue IO if no path is active; identical to the no_path_retry keyword. | ||
::<code>no_partitions</code> | ::<code>no_partitions</code> | ||
:::Disable automatic partitions generation via kpartx. | :::Disable automatic partitions generation via kpartx. | ||
+ | |||
+ | |||
+ | == Activities == | ||
+ | * Change <code>no_path_retry</code> to <code>no_path_retry "queue"</code> in <code>[[multipath.conf]]</code><ref>http://manpages.org/multipathconf/5</ref> configuration options to avoid <code>[[pvs]]</code> to hang : https://www.suse.com/support/kb/doc/?id=7022310 | ||
== See also == | == See also == | ||
− | * | + | * {{multipath}} |
+ | * {{HBA}} | ||
+ | * {{Linux Fibre Channel}} | ||
[[Category:Storage]] | [[Category:Storage]] | ||
[[Category:Linux]] | [[Category:Linux]] |
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: