Pcornel
Browse topics
Options
Recent
Favorites
Storage · Technical reference

Session

Direct answer

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.

When to use this

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.

First 30 seconds

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.

Operational verification

login → session → connections → LUNs

Context & applicabilityCommon mistakes · platform/version boundaries
Common mistakes
Failure and recovery traps

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.

Platform / version applicability
SAN and storage networking
applies
Structured applicability is explicit Topic metadata; it does not infer compatibility beyond the stored rows.
At a glance

Operational reference

Fast context before you go deeper.

PlatformSAN and storage networking
Scope / prerequisiteUse it when the storage question has been narrowed to iSCSI → Session. Preserve stable endpoint/LUN identity, separate …
What next?3 suggested next steps
Evidence1
On this pageJump to a specific section
Operational workflow

Verification & Troubleshooting

Start with the observed symptom, prove the nearest boundary, and move outward only when the current state is understood.

1 steps Observe → verify → isolate → change minimally → repeat the original test.
ObservedRecord what the original test actually shows

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 references

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.

observation · 1
Key points
  • TCP connection ≠ iSCSI session.
  • Session established ≠ LUN mapped.
  • Session up ≠ no packet loss/retransmission.
  • Multiple sessions ≠ correct multipath grouping automatically.
Key checks
  • iscsiadm -m session -P 1 — state LOGGED_IN
  • iscsiadm -m node -T <iqn> -p <ip> --login — login
  • iscsiadm -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).

Source basisSource attribution states what this section is based on; it is not independent proof that the current environment matches it.
Additional reference context Scope · expected state · examples · history · terminology Open only when you need the supporting context
Technical verification history

Verification history & basis

When and against what this Topic was checked. Later text edits do not count as a new check.

2026-09-14 · vendor docSAN and storage networking current

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%
Terminology layer

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.

Aliases that resolve here
iscsi sessioninitiator target sessioniscsi connection
Embedded reference data

Quick lookup tables

iSCSI → Session SAN/iSCSI map

Fast identity, path, presentation and proof boundaries for iSCSI → Session.

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 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
AcceptanceHealthy 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
Confirmation

Confirm action

Continue?