{
  "slug": "iscsi-session",
  "term": "iSCSI Session",
  "aliases": [],
  "definition": "An iSCSI session is a protocol association between an initiator and a target that groups TCP connections and, for a normal session, represents a SCSI I_T nexus.",
  "note": "A session normally has one or more TCP connections, each with its own connection ID; connections can be added or removed without making the session and a connection the same object. The initiator name plus ISID identifies the SCSI initiator port, and the target name plus TPGT identifies the SCSI target port. [layers] [mapping]\n\nMaxConnections is a session-wide negotiated limit whose default is 1 and whose result is the lower offered value, so multiple-connection capability must not be assumed. [connections]\n\nA normal session can carry SCSI commands for logical units; a discovery session is restricted to target discovery and logout, has MaxConnections equal to 1 and uses ErrorRecoveryLevel 0. [type] A failed session can temporarily retain state without an active connection under the recovery rules. [continuation] The paired analysis distinguishes connections within one session from separate sessions. [analysis]",
  "status": "shipping",
  "advantages": [],
  "limitations": [],
  "related": [
    "iscsi",
    "initiator-target",
    "logical-unit-number",
    "iscsi-node-name",
    "iscsi-portal-group",
    "iscsi-connection",
    "iscsi-error-recovery-level",
    "iscsi-cmdsn",
    "iscsi-statsn"
  ],
  "supersedes": [],
  "supersededBy": [],
  "firstSeen": null,
  "lastSeen": null,
  "citations": [
    {
      "id": "layers",
      "title": "RFC 7143: Layers and Sessions; section 4.2.1",
      "url": "https://www.rfc-editor.org/rfc/rfc7143.html#section-4.2.1",
      "accessed": "2026-10-17"
    },
    {
      "id": "mapping",
      "title": "RFC 7143: SCSI Architecture Model; section 4.4.2",
      "url": "https://www.rfc-editor.org/rfc/rfc7143.html#section-4.4.2",
      "accessed": "2026-10-17"
    },
    {
      "id": "connections",
      "title": "RFC 7143: MaxConnections; section 13.2",
      "url": "https://www.rfc-editor.org/rfc/rfc7143.html#section-13.2",
      "accessed": "2026-10-17"
    },
    {
      "id": "type",
      "title": "RFC 7143: SessionType; section 13.21",
      "url": "https://www.rfc-editor.org/rfc/rfc7143.html#section-13.21",
      "accessed": "2026-10-17"
    },
    {
      "id": "continuation",
      "title": "RFC 7143: Session Continuation and Failure; section 6.3.6",
      "url": "https://www.rfc-editor.org/rfc/rfc7143.html#section-6.3.6",
      "accessed": "2026-10-17"
    },
    {
      "id": "analysis",
      "title": "Hesela: iSCSI identity, sessions and recovery",
      "url": "https://hesela.com/analyses/iscsi-identity-sessions-recovery/",
      "accessed": "2026-10-17"
    }
  ],
  "updated": "2026-10-17"
}
