Pcornel
Storage · Multipathing

Active / Passive

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

Back to the Topic

Answer

The multipath layer directs normal I/O through a preferred active path or path group and keeps alternate paths available for failover. Arrays may require controller ownership transition or expose passive/nonoptimized states that must be interpreted correctly to avoid false failures or trespass.

Remember

  • Passive/standby path ≠ failed path.
  • Failover-only policy ≠ lack of redundancy.
  • Path activation ≠ instant application recovery.
  • Failback to a preferred path ≠ always desirable during instability.

First checks

  • multipath -ll — active vs enabled groups
  • multipathd show paths — path states
  • array controller ownership — owning controller

Verify in this order

LUN → active group; standby group on failure

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 → Active / Passive 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 standby path can be healthy without carrying normal I/O; conversely, successful failover does not prove failback behavior or application timeout tolerance.Correlate host, transport and target evidence for the same time window
AcceptanceHealthy evidence: preferred path is stable, standby paths are reachable in correct states, failover completes within accepted limits and failback policy matches the operational design.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=4115

Confirmation

Confirm action

Continue?