Pcornel
Storage

SAN

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

Back to the Topic

Answer

A host issues block I/O through an initiator, traverses one or more storage-network paths to target ports, and accesses only the logical units mapped to that host identity. Availability depends on both endpoint presentation and path/fabric health; data safety also depends on upper filesystem or cluster ownership.

Remember

  • SAN ≠ NAS: SAN normally exposes block devices while NAS exposes files through a file protocol.
  • Visible LUN ≠ safe-to-mount filesystem or correct ownership.
  • Redundant links ≠ redundant end-to-end paths unless initiator, fabric/network, target and multipath layers are independent.
  • SAN availability ≠ backup or application consistency.

First checks

  • multipath -ll — LUN paths
  • cat /sys/class/fc_host/host*/port_state; iscsiadm -m session — fabric links
  • array CLI/GUI — LUN and host status

Verify in this order

host → HBA/NIC → fabric → array controller → 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/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 boundaryA discovered and readable LUN proves one current block path to one presented logical unit; it does not prove redundant path coverage, correct cluster ownership, filesystem integrity, backend health or recoverable backup.Correlate host, network/fabric and target/array evidence for the same time window
AcceptanceHealthy evidence: the intended host identities see only intended LUNs, stable identifiers match baseline, every required path is up through independent failure domains, multipath state is coherent and representative block I/O/read-back succeeds.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=4062

Confirmation

Confirm action

Continue?