Multipath

From wikieduonline
Revision as of 09:45, 9 December 2019 by Welcome (talk | contribs)
Jump to navigation Jump to search

https://en.wikipedia.org/wiki/Linux_DM_Multipath


  • multipath -l
  • multipath -t
-t Display the currently used multipathd configuration
  • multipathd show config
  • Ubuntu: multipath-tools package
    • Binaries: multipath multipathd mpathpersist
  • RHEL: device-mapper-multipath package

Config files:

Configuration file: /etc/multipath.conf [2]

  1. System level defaults (defaults): User can override system level defaults.
  2. Blacklisted devices (blacklist): User specifies the list of devices that is not to be under the control of DM-MPIO.
  3. Blacklist exceptions (blacklist_exceptions): Specific devices to be treated as multipath devices even if listed in the blacklist.
  4. Storage controller specific settings (devices): User specified configuration settings will be applied to devices with specified "Vendor" and "Product" information.
  5. Device specific settings (multipaths): Fine tune the configuration settings for individual LUNs.


Default multipath.conf configuration

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

See also

  • https://www.thegeekdiary.com/understanding-the-dm-multipath-configuration-file-etc-multipath-conf/
  • https://en.wikipedia.org/wiki/Linux_DM_Multipath
  • Advertising: