Pcornel
Storage · Multipathing

Path Selection

Cheat sheet · https://pcornel.dk/topic.php?topic=4116

Back to the Topic

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 selector
  • multipathd show config | grep -A5 <vendor> — device settings
  • Get-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 boundaryWhat to verifyProof limit
Device identityPersistent LUN/WWID plus one logical multipath deviceMatching identity does not prove every path is healthy or independent
Path state / policyExpected paths, access state, selector/policy, transport errors and target-side presentationPath up does not prove low latency, independence or application continuity
Failure boundaryA 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
AcceptanceHealthy 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

Confirmation

Confirm action

Continue?