iSCSI
Cheat sheet · https://pcornel.dk/topic.php?topic=4097
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/portaliscsiadm -m node— configured targetsGet-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 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 | An 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 |
| Acceptance | Healthy 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