Pcornel
Storage · Multipathing

ALUA

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

Back to the Topic

Answer

An ALUA-capable target reports path-access state per target port group. The multipath framework uses that information—often through a prioritizer or DSM—to prefer optimized paths while retaining other valid paths for failover. Access state is a target property, not merely a host guess based on latency.

Remember

  • ALUA active/nonoptimized ≠ failed.
  • Optimized path ≠ only valid path.
  • ALUA support ≠ host is interpreting states correctly.
  • Controller ownership/state ≠ path-selection policy itself.

First checks

  • sg_rtpg --decode /dev/sdX — ALUA target port groups
  • multipath -ll | grep prio — ALUA priorities
  • esxcli storage nmp device list | grep -i alua — ESXi

Verify in this order

array reports AO/ANO → host prioritises AO

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 → ALUA 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 boundaryALUA reports asymmetric access relationships and states; it does not itself provide physical redundancy, choose every host policy, or prove application continuity.Correlate host, transport and target evidence for the same time window
AcceptanceHealthy evidence: host and array agree on target port group states, optimized paths are preferred as designed, nonoptimized paths remain available where expected, and transitions do not duplicate or lose the LUN.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=4118

Confirmation

Confirm action

Continue?