Pcornel
Storage · iSCSI

Target

Cheat sheet · https://pcornel.dk/topic.php?topic=4100

Back to the Topic

Answer

The target accepts iSCSI login, negotiates session parameters, authenticates peers where configured and exposes mapped SCSI logical units. One target identity may be reachable at multiple portals for redundancy.

Remember

  • Target name ≠ portal IP.
  • Portal reachable ≠ login permitted.
  • Target login ≠ LUN mapping.
  • Multiple portals ≠ independent storage controllers or network paths automatically.

First checks

  • targetcli ls — LIO configuration
  • iscsiadm -m discovery -t st -p <portal> — targets advertised
  • array CLI: show iscsi targets — array side

Verify in this order

target → portal groups → LUNs → ACLs

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 → Target SAN/iSCSI map

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 boundaryA reachable target portal proves a TCP endpoint exists; only successful login proves iSCSI session establishment, and neither alone proves LUN access.Correlate host, network/fabric and target/array evidence for the same time window
AcceptanceHealthy evidence: intended target IQN is reachable through expected portals, login succeeds for authorized initiators and mapped LUN IDs are correct.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=4100

Confirmation

Confirm action

Continue?