{
  "slug": "iscsi-connection",
  "term": "iSCSI Connection",
  "aliases": [],
  "definition": "An iSCSI connection is a TCP connection carrying iSCSI protocol messages between an initiator and a target within an iSCSI session.",
  "note": "Each TCP connection must complete its own iSCSI login before entering the Full Feature Phase; the login associates it with a session and negotiates the applicable parameters. [login] Its connection ID (CID) is unique within that session, not a globally unique target identifier or a replacement for the session identity. [cid]\n\nCommand connection allegiance normally keeps a command's associated data, responses and status on the connection carrying the request; recovery can explicitly reassign allegiance under the protocol's recovery rules. This is not arbitrary striping of a single command across the session's connections. [allegiance] A broken TCP connection does not by itself prove that every command can continue elsewhere: the negotiated ErrorRecoveryLevel and implemented recovery capabilities matter. [recovery] The paired analysis explains the difference between reconnecting transport and recovering outstanding work. [analysis]",
  "status": "shipping",
  "advantages": [],
  "limitations": [],
  "related": [
    "iscsi",
    "iscsi-network-portal",
    "iscsi-portal-group",
    "iscsi-session",
    "iscsi-error-recovery-level",
    "iscsi-statsn"
  ],
  "supersedes": [],
  "supersededBy": [],
  "firstSeen": null,
  "lastSeen": null,
  "citations": [
    {
      "id": "login",
      "title": "RFC 7143: iSCSI Login; section 4.2.4",
      "url": "https://www.rfc-editor.org/rfc/rfc7143.html#section-4.2.4",
      "accessed": "2026-10-17"
    },
    {
      "id": "cid",
      "title": "RFC 7143: Connection ID (CID); section 11.12.7",
      "url": "https://www.rfc-editor.org/rfc/rfc7143.html#section-11.12.7",
      "accessed": "2026-10-17"
    },
    {
      "id": "allegiance",
      "title": "RFC 7143: Command Connection Allegiance; section 4.2.5.1",
      "url": "https://www.rfc-editor.org/rfc/rfc7143.html#section-4.2.5.1",
      "accessed": "2026-10-17"
    },
    {
      "id": "recovery",
      "title": "RFC 7143: Error Recovery Hierarchy; section 7.1.5",
      "url": "https://www.rfc-editor.org/rfc/rfc7143.html#section-7.1.5",
      "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"
}
