Difference between revisions of "Multipath"
Jump to navigation
Jump to search
Line 14: | Line 14: | ||
Config files: | Config files: | ||
− | * <code>/etc/multipath.conf</code><ref>https://www.thegeekdiary.com/understanding-the-dm-multipath-configuration-file-etc-multipath-conf/</ref><code>https://manpages.debian.org/unstable/multipath-tools/multipath.conf.5.en.html</code> | + | * <code>/etc/[[multipath.conf<]]/code><ref>https://www.thegeekdiary.com/understanding-the-dm-multipath-configuration-file-etc-multipath-conf/</ref><code>https://manpages.debian.org/unstable/multipath-tools/multipath.conf.5.en.html</code> |
* <code>/etc/multipath/wwids</code> | * <code>/etc/multipath/wwids</code> | ||
Revision as of 14:20, 9 December 2019
https://en.wikipedia.org/wiki/Linux_DM_Multipath https://linux.die.net/man/8/multipath
multipath -l
multipath -ll
multipath -ll DEVICE_NAME
multipath -t
-t
Display the currently used multipathd configuration
multipathd show config
- Ubuntu:
multipath-tools
package- Binaries:
multipath
multipathd
mpathpersist
- Binaries:
- RHEL:
device-mapper-multipath
package
Config files:
/etc/[[multipath.conf<]]/code>[1]
https://manpages.debian.org/unstable/multipath-tools/multipath.conf.5.en.html
/etc/multipath/wwids
- multipath -w 3600a09803831417a5a244f5665797a48
- wwid '3600a09803831417a5a244f5665797a48' removed
multipath -W
successfully reset wwids
Configuration file: /etc/multipath.conf [2]
- System level defaults (defaults): User can override system level defaults.
- Blacklisted devices (blacklist): User specifies the list of devices that is not to be under the control of DM-MPIO.
- Blacklist exceptions (blacklist_exceptions): Specific devices to be treated as multipath devices even if listed in the blacklist.
- Storage controller specific settings (devices): User specified configuration settings will be applied to devices with specified "Vendor" and "Product" information.
- Device specific settings (multipaths): Fine tune the configuration settings for individual LUNs.
Routing policies implemented: failover, multibus and group_by_serial
- failover : 1 path per priority group. IO thus get routed to one path only.
- multibus : 1 priority group containing all paths to the LU. Brings the maximum spreading, but assumes that all paths are excitable without penalty.
- group_by_serial : 1 priority group per storage controller (serial), paths through one controller are assigned to the associated PG. This policy applies to controllers that impose a latency penalty on LU management hand-over between a pair of redundant controllers.
multipath -p multibus -D 8 0
Readings
- Varoqui, C. (2010.) The Linux multipath implementation. Retrieved from http://christophe.varoqui.free.fr/refbook.html
- Changelog: https://git.opensvc.com/?p=multipath-tools/.git;a=log
Activities
- Review
no_path_retry
configuration options in multipath.conf to avoid pvs to hang : https://www.suse.com/support/kb/doc/?id=7022310
See also
- EMC
powerpath
kpartx
- Fibre Channel: SAN, HBA, LUN, WWN, WWPN, LIF,
rescan-scsi-bus.sh
- Block devices:
blkid
(UUID), lshw -class disk
, hwinfo --disk
, udevadm
, rescan-scsi-bus.sh
, LUN
, hdparm
, findfs
, Add a new disk
lsblk
, pvscan
lspci
, lsscsi
, smartctl
, fdisk
, parted
, Kpartx
, pvdiplay
, pvs
, udisksctl
, /dev/sd, nvme list
↑ https://www.thegeekdiary.com/understanding-the-dm-multipath-configuration-file-etc-multipath-conf/
↑ https://en.wikipedia.org/wiki/Linux_DM_Multipath
Advertising: