Difference between revisions of "/etc/multipath.conf"

From wikieduonline
Jump to navigation Jump to search
(Redirected page to Multipath)
Tag: New redirect
 
 
(23 intermediate revisions by the same user not shown)
Line 1: Line 1:
#redirect [[multipath]]
+
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>
 +
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
 +
    }
 +
}
 +
</pre>
 +
 
 +
== Options ==
 +
: <code>no_path_retry</code>
 +
:: Specify the number of retries until disable queueing, or <code>fail</code> for immediate failure (no queueing), <code>queue</code> for never stop queueing. If unset no queueing is attempted. Default is unset.
 +
 
 +
: <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
 +
::<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.
 +
::<code>no_partitions</code>
 +
:::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 ==
 +
* {{multipath}}
 +
* {{HBA}}
 +
* {{Linux Fibre Channel}}
 +
 
 +
 
 +
[[Category:Storage]]
 +
[[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.
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]

See also[edit]

  • http://manpages.org/multipathconf/5
  • http://manpages.org/multipathconf/5
  • http://manpages.org/multipathconf/5
  • Advertising: