Multipathing
Cheat sheet · https://pcornel.dk/topic.php?topic=4073
Answer
The host detects several transport paths carrying the same persistent logical-unit identity and a multipath layer presents one logical device upward. Correct design requires path independence and awareness of target-controller access states where applicable.
Remember
- Multipath ≠ multiple copies of data.
- Two links ≠ two independent end-to-end paths.
- All paths up ≠ load balancing optimal.
- Path failover ≠ application-transparent recovery unless timeout and upper-layer behavior are compatible.
First checks
multipath -ll— paths and statesGet-MPIOSetting; mpclaim -s -d— Windows MPIOesxcli storage nmp device list— ESXi paths
Verify in this order
LUN → multiple paths → multipath device
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.
SAN → Multipathing SAN/iSCSI map
| SAN/iSCSI boundary | What to verify | Proof limit |
|---|---|---|
| Identity / presentation | Initiator + target identity, portal/fabric path, LUN stable ID and mapping | Discovery or login alone does not prove correct storage ownership |
| Path / transport | Link/VLAN/IP/TCP or fabric state, path independence, session/path errors and multipath grouping | One reachable path does not prove resilience or backend health |
| Failure boundary | A healthy multipath device proves the OS has grouped current paths to one logical unit; it does not prove every failure domain is independent or workload failover has been tested. | Correlate host, network/fabric and target/array evidence for the same time window |
| Acceptance | Healthy evidence: all designed paths resolve to one persistent LUN, states/policy are correct, no path flapping occurs and controlled failover preserves expected I/O. | Close only after the original block workload and upper-layer consistency check succeeds |
Read-only verification commands unless stated otherwise. Confirm syntax for your platform and release. Full reference: https://pcornel.dk/topic.php?topic=4073