SAN Troubleshooting
Cheat sheet · https://pcornel.dk/topic.php?topic=4076
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 statedmesg | grep -i -e 'rport' -e 'scsi' -e 'path'— kernel path eventsshow 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 boundary | What to verify | Proof limit |
|---|---|---|
| Identity / presentation | Initiator + target identity, portal/fabric path, LUN stable ID and mapping | Discovery or login alone does not prove correct storage ownership |
| Path / transport | Link/VLAN/IP/TCP or fabric state, path independence, session/path errors and multipath grouping | One reachable path does not prove resilience or backend health |
| Failure boundary | The 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 |
| Acceptance | Healthy 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