Target
Cheat sheet · https://pcornel.dk/topic.php?topic=4100
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 configurationiscsiadm -m discovery -t st -p <portal>— targets advertisedarray 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 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 | A 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 |
| Acceptance | Healthy 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