Linux DM Multipath
Device Mapper Multipath Input Output (DM-MPIO) or DM-Multipathing provides input/output (I/O) fail-over and load-balancing by using multipath I/O within Linux for block devices.[src] By utilizing device-mapper, the multipathd daemon provides the host-side logic to use multiple paths of a redundant network to provide continuous availability and higher-bandwidth connectivity between the host server and the block-level device.[src] DM-MPIO handles the rerouting of block I/O to an alternate path in the event of a path failure.[src] DM-MPIO can also balance the I/O load across all of the available paths that are typically utilized in Fibre Channel (FC) and iSCSI SAN environments.[src] DM-MPIO is based on the device mapper, which provides the basic framework that maps one block device onto another.[src]
Device Mapper Multipath Input Output (DM-MPIO) or DM-Multipathing provides input/output (I/O) fail-over and load-balancing by using multipath I/O within Linux for block devices.[src] By utilizing device-mapper, the multipathd daemon provides the host-side logic to use multiple paths of a redundant network to provide continuous availability and higher-bandwidth connectivity between the host server and the block-level device.[src] DM-MPIO handles the rerouting of block I/O to an alternate path in the event of a path failure.[src] DM-MPIO can also balance the I/O load across all of the available paths that are typically utilized in Fibre Channel (FC) and iSCSI SAN environments.[src] DM-MPIO is based on the device mapper, which provides the basic framework that maps one block device onto another.[src] ==History== DM-MPIO started as a patch set created by Joe Thornber, and was later maintained by Alasdair G Kergon at Red Hat.[src] It was included in mainline Linux with kernel version 2.6.12, which was released on June 17, 2005.[src] ==Components== DM-MPIO in Linux consists of kernel components and user-space components.[src] Kernel – device-mapper – block subsystem that provides layering mechanism for block devices.[src] dm-multipath – kernel module implementing the multipath device-mapper target.[src] User-space – multipath-tools – provides the tools to manage multipathed devices by instructing the device-mapper multipath module what to do.[src] The tools consist of: Multipath: scans the system for multipathed devices, assembles them, updates the device-mapper's map.[src] Multipathd: daemon that waits for maps events, and then executes multipath and monitors the paths.[src] Marks a path as failed when the path becomes faulty.[src] Depending on the failback policy, it can reactivate the path.[src] Devmap-name: provides a meaningful device-name to udev for devmaps.[src] Kpartx: maps linear devmaps to device partitions to make multipath maps partitionable.[src] Multipath.conf: configuration file for the multipath daemon.[src] Used to overwrite the built-in configuration table of multipathd.[src] ===Configuration file=== The configuration file /etc/multipath.conf makes many of the DM-MPIO features user-configurable.[src] The multipath command and the kernel daemon multipathd use information found in this file.[src] The file is only consulted during the configuration of the multipath devices.[src] Changes must be made prior to running the multipath command.[src] Changes to the file afterward will require multipath to be executed again.[src] The multipath.conf has five sections: System level defaults (defaults): User can override system level defaults.[src] Blacklisted devices (blacklist): User specifies the list of devices that are not to be under the control of DM-MPIO.[src] Blacklist exceptions (blacklist_exceptions): Specific devices to be treated as multipath devices even if listed in the blacklist.[src] Storage controller specific settings (devices): User specified configuration settings will be applied to devices with specified "Vendor" and "Product" information.[src] Device specific settings (multipaths): Fine tune the configuration settings for individual LUNs.[src] ==Terminology== HBA: Host bus adapters provide the physical interface between the input/output (I/O) host bus of Fibre Channel devices and the underlying Fibre Channel network.[src] Path: Connection from the server through the HBA to a specific LUN.[src] DM Path States: The device mapper's view of the path condition.[src] Only two conditions are possible: Active: The last I/O operation sent through this path successfully completed.[src] Analogous to ready path state.[src] Failed: The last I/O operation sent through this path did not successfully complete.[src] Analogous to faulty path state.[src] Failover: When a path is determined to be in a failed state, a path that is in a ready state will be made active.[src] Failback: When a failed path is determined to be active again, multipathd may choose to failback to the path as determined by the failback policy.[src] Failback Policy: Four options as set in the multipath.conf configuration file.[src] Immediate: Immediately failback to the highest priority path.[src] Manual: The failed path is not monitored, requires user intervention to failback.[src] Followover(for clusters): Only perform automatic failback when the first path of a pathgroup becomes active.[src] This keeps a node from automatically failing back when another node requested the failover.[src] Number of seconds: Wait for a specified number of seconds to allow the I/O to stabilize, then failback to the highest priority path.[src] Active/Active: In a system that has two storage controllers, each controller can process I/O.[src] Active/Passive: In a system that has two storage controllers, only one controller at a time is able to process I/O, the other (passive) is in a standby mode.[src] LUN: SCSI Logical Unit Number WWID: Worldwide Identifier is an identifier for the multipath device that is guaranteed to be globally unique and unchanging.[src] ==Further reading== Michael, T., Kabir, R., Giles, J.[src] & Hull, J.[src] (2006.) Configuring Linux to Enable Multipath I/O.[src] Retrieved from http://www.dell.com/downloads/global/power/ps3q06-20060189-Michael.pdf Goggin, E., Kergon, A., Varoqui, C., & Olien, D.[src] (2005) Proceedings of the Linux Symposium – Linux Multipathing.[src] Retrieved from https://web.archive.org/web/20101227213252/http://www.linuxinsight.com/files/ols2005/goggin-reprint.pdf Red Hat Documentation.[src] (n.d.) Red Hat Enterprise Linux 6, DM Multipath.[src] Retrieved from https://access.redhat.com/site/documentation/en-US/Red_Hat_Enterprise_Linux/6/html-single/DM_Multipath/ Varoqui, C.[src] (2010.) The Linux multipath implementation.[src] Retrieved from http://christophe.varoqui.free.fr/refbook.html ==References==[src]
62 sentences · 62 cited inline · 0 references stored
References
No reference rows published for this article.
Cite this article
MLA
"Linux DM Multipath." encyclopegia.org, 2025, https://encyclopegia.org/wiki/linux-dm-multipath. Accessed 28 November 2026.
Chicago
"Linux DM Multipath." encyclopegia.org. Accessed November 28, 2026. https://encyclopegia.org/wiki/linux-dm-multipath.
APA
encyclopegia.org. (2025). Linux DM Multipath. Retrieved November 28, 2026, from https://encyclopegia.org/wiki/linux-dm-multipath
Accessed November 28, 2026 · CC BY-SA 4.0 · citation page · JSON
Claims
| Predicate | Value | Source |
|---|---|---|
| release date | 2005-06-17 | Wikipedia |