Path Selection
Cheat sheet · https://pcornel.dk/topic.php?topic=4116
Answer
The selector operates only across paths the multipath framework considers usable. Depending on platform and target, policies can prefer one path, rotate across paths, choose least queue depth/blocks, use weights or honor optimized access groups. Selection must follow vendor-supported semantics before performance tuning.
Remember
- Path selection policy ≠ path health detection.
- Load balancing ≠ guaranteed even distribution.
- Least queue depth ≠ lowest end-to-end latency automatically.
- Changing policy ≠ increasing available backend performance.
First checks
multipath -ll | grep policy— path selectormultipathd show config | grep -A5 <vendor>— device settingsGet-MSDSMGlobalDefaultLoadBalancePolicy— Windows
Verify in this order
I/O → selector → path
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 → Path Selection 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 | A selector explains host dispatch choice among eligible paths; it does not prove target capacity, path independence or the performance of the complete storage stack. | Correlate host, transport and target evidence for the same time window |
| Acceptance | Healthy evidence: the configured policy is supported, eligible paths match design, traffic distribution is explainable, and failover plus workload performance remain within defined limits. | 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=4116