Pcornel
Storage · SAN

SAN Troubleshooting

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

Back to the Topic

Answer

SAN troubleshooting follows one path from host to array — HBA, fabric, zoning, array port, LUN mapping, multipathing — comparing with a working host. Record the LUN's unique ID before rescanning, remapping or formatting anything.

Remember

  • Missing device ≠ failed disk automatically.
  • Path down ≠ target/LUN offline necessarily.
  • Visible LUN ≠ correct LUN.
  • Rescan/reboot success ≠ root cause or durable fix.

First checks

  • multipath -ll — path state
  • dmesg | grep -i -e 'rport' -e 'scsi' -e 'path' — kernel path events
  • show interface counters (switch) — port errors

Commands

multipath -ll
Inspect multipath topology. Focus fields: WWID, path group policy, path state, checker state, device mapper name and ta…

Verify in this order

host → HBA → fabric → array → LUN

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 → SAN Troubleshooting SAN/iSCSI map

SAN/iSCSI boundaryWhat to verifyProof limit
Identity / presentationInitiator + target identity, portal/fabric path, LUN stable ID and mappingDiscovery or login alone does not prove correct storage ownership
Path / transportLink/VLAN/IP/TCP or fabric state, path independence, session/path errors and multipath groupingOne reachable path does not prove resilience or backend health
Failure boundaryThe first failed boundary narrows ownership; success at one adjacent layer does not prove the rest of the SAN or the upper workload.Correlate host, network/fabric and target/array evidence for the same time window
AcceptanceHealthy evidence: stable LUN identity, expected paths and mappings agree across host/fabric/array views, transport counters are stable and original workload plus path-redundancy checks succeed.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=4076

Confirmation

Confirm action

Continue?