Multipathing
Cheat sheet · https://pcornel.dk/topic.php?topic=4111
Answer
The host discovers several transport paths to one logical unit, validates that every path resolves to the same stable device identity, and exposes one logical multipath device above them. A multipath layer tracks path health, access state and policy while the filesystem, volume manager, database or hypervisor consumes only the consolidated device.
Remember
- Multiple visible path devices ≠ multiple disks.
- Multiple paths ≠ independent failure domains unless initiator, network/fabric and target-side dependencies are actually separated.
- Path redundancy ≠ backup or data redundancy inside the storage system.
- All paths reported up ≠ application failover behavior has been proven.
First checks
multipath -ll— topologymultipathd show paths— path statesGet-MSDSMSupportedHW; mpclaim -s -d— Windows
Verify in this order
LUN → paths → multipath device → filesystem
Where it usually breaks
First mismatch in initiator → link/fabric/network → session/login → target port → LUN/namespace presentation → multipath → block consumer; preserve identity/pre-state before mutation.
Multipathing multipath map
| Multipath boundary | What to verify | Proof limit |
|---|---|---|
| Device identity | Persistent LUN/WWID plus one logical multipath device | Matching identity does not prove every path is healthy or independent |
| Path state / policy | Expected paths, access state, selector/policy, transport errors and target-side presentation | Path up does not prove low latency, independence or application continuity |
| Failure boundary | Multipathing can preserve host access across a path failure, but it cannot repair backend media faults, filesystem corruption, application inconsistency or a failure shared by all nominal paths. | Correlate host, transport and target evidence for the same time window |
| Acceptance | Healthy evidence: one stable logical device contains the expected independent paths, path states and access states match design, policy is supported by the target, and controlled path loss preserves I/O within the accepted recovery window. | Close only after original I/O and approved path-failure verification succeeds |
Read-only verification commands unless stated otherwise. Confirm syntax for your platform and release. Full reference: https://pcornel.dk/topic.php?topic=4111