Difference between revisions of "Multipath"

From wikieduonline
Jump to navigation Jump to search
Line 2: Line 2:
  
 
* [[Ubuntu]]: <code>multipath-tools</code> package
 
* [[Ubuntu]]: <code>multipath-tools</code> package
* [[RHEL]]: <code>device-mapper-multipath<code> package
+
* [[RHEL]]: <code>device-mapper-multipath</code> package
  
 
Config file: <code>/etc/multipath.conf</code><code>https://manpages.debian.org/unstable/multipath-tools/multipath.conf.5.en.html</code>
 
Config file: <code>/etc/multipath.conf</code><code>https://manpages.debian.org/unstable/multipath-tools/multipath.conf.5.en.html</code>

Revision as of 08:33, 9 December 2019

multipath -l

  • Ubuntu: multipath-tools package
  • RHEL: device-mapper-multipath package

Config file: /etc/multipath.confhttps://manpages.debian.org/unstable/multipath-tools/multipath.conf.5.en.html

  • /etc/multipath/wwids

Default multipath.conf configuration

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
    }
}



See also

Advertising: