Pcornel
Storage

iSCSI

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

Back to the Topic

Answer

The initiator resolves or is configured with a target portal, performs discovery/login, authenticates if required, establishes an initiator-target session over one or more TCP connections, and issues SCSI commands to LUNs exposed by that target. Network path, iSCSI login/session, LUN mapping and multipath are separate boundaries.

Remember

  • iSCSI ≠ NAS: it transports block SCSI, not file shares.
  • TCP connectivity to a portal ≠ successful iSCSI login or LUN access.
  • CHAP authenticates peers but does not encrypt iSCSI payloads.
  • Multiple NICs/sessions ≠ correct MPIO automatically.

First checks

  • iscsiadm -m session -P 1 — sessions per target/portal
  • iscsiadm -m node — configured targets
  • Get-IscsiSession — Windows sessions

Verify in this order

initiator → TCP 3260 → portal → 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.

iSCSI 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 boundaryAn established iSCSI session proves initiator-target protocol communication over at least one TCP connection; it does not prove the intended LUN is mapped, MPIO is correct, the network path is redundant or the application is healthy.Correlate host, network/fabric and target/array evidence for the same time window
AcceptanceHealthy evidence: intended initiator and target IQNs establish sessions through documented portals, mapped LUN IDs are consistent across intended paths, network errors are controlled and representative 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=4097

Confirmation

Confirm action

Continue?