Use it when the storage question has been narrowed to iSCSI → Target. 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.
Target · iSCSI
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.
1. The target exposes LUNs to authorised initiators.
2. ACLs by IQN and CHAP.
3. Multiple portals for redundancy.
4. Linux LIO, TrueNAS, arrays.
5. Save config (targetcli saveconfig).
target → portal groups → LUNs → ACLs
Context & applicabilityCommon mistakes · platform/version boundaries
A reachable target portal shows a TCP endpoint exists; only successful login shows iSCSI session establishment, and neither alone shows LUN access.
Suspicious evidence: wrong target name, listener absent, authentication rejects, portal asymmetry, mapping drift or target resets.
Operational reference
Fast context before you go deeper.
Verification & Troubleshooting
Start with the observed symptom, prove the nearest boundary, and move outward only when the current state is understood.
Use the operational verification above to establish the expected state.
Capture the concrete output, symptom, packet, log or counter before changing anything.
Step 1 Verification path Verify boundary
initiator → IP/TCP → target portal → target identity/login → LUN mapping → SCSI logical unit → backend
Healthy evidence: intended target IQN is reachable through expected portals, login succeeds for authorized initiators and mapped LUN IDs are correct.
Step 2 Native branching decision path Narrow the fault
Observation → implication → next check: if the target listener/port is absent, repair service/fabric ownership. If the initiator reaches the target but login is rejected, compare identity/authentication. If login succeeds but the LUN is absent, inspect mapping/masking. If presentation is correct but I/O fails, follow the path into multipath/device/filesystem evidence.
Path: Storage → iSCSI → Target. Local intent: iSCSI Target is the storage-side protocol endpoint identified by an iSCSI name and reachable through one or more target network portals.
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.
- Target name ≠ portal IP.
- Portal reachable ≠ login permitted.
- Target login ≠ LUN mapping.
- Multiple portals ≠ independent storage controllers or network paths automatically.
targetcli ls— LIO configurationiscsiadm -m discovery -t st -p <portal>— targets advertisedarray CLI: show iscsi targets— array side
ReferenceHow it works1 section · depth on demand
How it works
A storage target accepts initiator sessions and exposes one or more mapped logical units according to target identity, authentication and access-control/masking rules. Listener/fabric presence, session establishment and LUN presentation are different owner states. Correlate the same initiator identity with the target object and exported LUN.
Path: Storage → iSCSI → Target. Local intent: iSCSI Target is the storage-side protocol endpoint identified by an iSCSI name and reachable through one or more target network portals.
ReferenceImportant terms & boundaries2 sections · depth on demand
Identity and presentation
A reachable target portal shows a TCP endpoint exists; only successful login shows iSCSI session establishment, and neither alone shows LUN access.
In depth
Within iSCSI, the target is the server side that exports LUNs over TCP 3260 — a storage array, a Linux server with LIO (targetcli), or Windows iSCSI Target Server. It controls which initiators may log in (ACLs by IQN) and which LUNs each sees.
targetcli /backstores/block create name=lun01 dev=/dev/vg0/lun01
targetcli /iscsi create iqn.2026-01.com.example:srv01.target1
targetcli /iscsi/iqn.2026-01.com.example:srv01.target1/tpg1/luns create /backstores/block/lun01
targetcli /iscsi/iqn.2026-01.com.example:srv01.target1/tpg1/acls create iqn.2026-01.com.example:host01
targetcli saveconfig
| Target element | Purpose |
|---|---|
| Target IQN | Identity of the target |
| TPG (target portal group) | Portals (IP:port) and settings |
| ACL | Allowed initiator IQNs |
| Backstore | Block device, file or ramdisk backing a LUN |
Expose targets only on storage networks, and use separate portals on separate subnets for multipathing.
Additional reference context Scope · expected state · examples · history · terminology Open only when you need the supporting context
Verification history & basis
When and against what this Topic was checked. Later text edits do not count as a new check.
Authoritative/upstream documentation reviewed for bounded claims in iSCSI → Target. Documentation verification only; this is not observed lab or production Evidence.
Basis: https://www.rfc-editor.org/rfc/rfc7143 · confidence 94%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.
Quick lookup tables
iSCSI → Target SAN/iSCSI map
Fast identity, path, presentation and proof boundaries for iSCSI → Target.
| 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 |