Use it when the storage question has been narrowed to iSCSI → Session. Preserve stable endpoint/LUN identity, separate connectivity from login/presentation, and prove each path plus the upper consumer before making disruptive SAN or iSCSI changes.
Session
RFC 7143 defines the session as the grouping of TCP connections linking an initiator and target. Session identity and negotiated parameters persist across its connections, while MPIO may use multiple sessions/paths depending on host implementation and design.
1. A session is a login to one target via one portal.
2. Each session = one path.
3. Check state and errors after network events.
4. Timeouts decide failover speed.
5. Log out cleanly before removing targets.
login → session → connections → LUNs
Context & applicabilityCommon mistakes · platform/version boundaries
An established session shows protocol communication for that initiator-target pair, but it does not show all desired paths, LUN mappings or application I/O health.
Suspicious evidence: frequent session recovery, login loops, wrong source/portal pairing, unexpected connection count, command timeouts or session up with no intended LUN.
Operational reference
Fast context before you go deeper.
Verification & Troubleshooting
Start with the observed symptom, prove the nearest boundary, and move outward only when the current state is understood.
Use the operational verification above to establish the expected state.
Capture the concrete output, symptom, packet, log or counter before changing anything.
Step 1 Verification path Verify boundary
initiator + target identity → login → iSCSI session → TCP connection(s) → SCSI commands/data → LUN
Healthy evidence: expected sessions remain stable, connections use intended source/portal paths, no unexplained reconnects occur and mapped LUN I/O succeeds.
Evidence · 1 on this Topic
Expected observations and documentation recipes are reference material. Record actual output, device identity, scope and time before claiming a verified result.
- TCP connection ≠ iSCSI session.
- Session established ≠ LUN mapped.
- Session up ≠ no packet loss/retransmission.
- Multiple sessions ≠ correct multipath grouping automatically.
iscsiadm -m session -P 1— state LOGGED_INiscsiadm -m node -T <iqn> -p <ip> --login— loginiscsiadm -m node -T <iqn> -o update -n node.startup -v automatic— persist
ReferenceImportant terms & boundaries2 sections · depth on demand
Identity and presentation
An established session shows protocol communication for that initiator-target pair, but it does not show all desired paths, LUN mappings or application I/O health.
In depth
A session is a logged-in relationship between one initiator and one target, carried by one or more TCP connections. Login has two phases: security negotiation (CHAP, if used) and operational negotiation (MaxRecvDataSegmentLength, ImmediateData, InitialR2T, header/data digests). The session ID (ISID + TSIH) identifies it on both sides.
iscsiadm -m session -P 3 # Linux: state, negotiated params, attached disks
Get-IscsiSession | ft TargetNodeAddress,IsConnected,NumberOfConnections
esxcli iscsi session list
Multipathing with iSCSI normally uses several sessions (one per path) handled by MPIO, not multiple connections inside one session (MC/S).
Additional reference context Scope · expected state · examples · history · terminology Open only when you need the supporting context
Verification history & basis
When and against what this Topic was checked. Later text edits do not count as a new check.
Authoritative/upstream documentation reviewed for bounded claims in iSCSI → Session. Documentation verification only; this is not observed lab or production Evidence.
Basis: https://www.rfc-editor.org/rfc/rfc7143 · confidence 94%Terms & aliases
Hover a linked term for a quick definition; click it to open its glossary entry. Aliases are other names that find this Topic in search.
Quick lookup tables
iSCSI → Session SAN/iSCSI map
Fast identity, path, presentation and proof boundaries for iSCSI → Session.
| 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 session proves protocol communication for that initiator-target pair; it does not prove all desired paths, LUN mappings or application I/O health. | Correlate host, network/fabric and target/array evidence for the same time window |
| Acceptance | Healthy evidence: expected sessions remain stable, connections use intended source/portal paths, no unexplained reconnects occur and mapped LUN I/O succeeds. | Close only after the original block workload and upper-layer consistency check succeeds |