SAN Fundamentals
Cheat sheet · https://pcornel.dk/topic.php?topic=4063
Answer
SANs separate compute hosts from shared storage systems through a connectivity layer. Hosts identify as initiators, storage exposes targets and logical units, and policy such as zoning plus LUN mapping/masking limits who can reach what. Multipathing then combines redundant paths to the same device.
Remember
- Connectivity ≠ authorization to a LUN.
- Zoning ≠ LUN mapping/masking.
- A LUN number ≠ globally unique device identity.
- Multiple paths ≠ multiple independent disks.
First checks
lsscsi -t— SAN devicesmultipath -ll— pathsrescan-scsi-bus.sh— rescan
Verify in this order
host initiator → SAN → target → 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 Fundamentals 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 | SAN discovery can succeed while presentation, path grouping or upper-layer ownership is wrong; each boundary requires its own evidence. | Correlate host, network/fabric and target/array evidence for the same time window |
| Acceptance | Healthy evidence: identities, connectivity, presentation and path grouping match the documented design and the upper consumer can perform controlled I/O without path or data-integrity errors. | 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=4063