Pcornel
Browse topics
Options
Recent
Favorites
Storage · Technical reference

Target · iSCSI

Direct 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.

When to use this

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.

First 30 seconds

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).

Operational verification

target → portal groups → LUNs → ACLs

Context & applicabilityCommon mistakes · platform/version boundaries
Common mistakes
Failure and recovery traps

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.

Platform / version applicability
SAN and storage networking
applies
Structured applicability is explicit Topic metadata; it does not infer compatibility beyond the stored rows.
At a glance

Operational reference

Fast context before you go deeper.

PlatformSAN and storage networking
Scope / prerequisiteUse it when the storage question has been narrowed to iSCSI → Target. Preserve stable endpoint/LUN identity, separate c…
What next?3 suggested next steps
Evidence1
On this pageJump to a specific section
Operational workflow

Verification & Troubleshooting

Start with the observed symptom, prove the nearest boundary, and move outward only when the current state is understood.

2 steps Observe → verify → isolate → change minimally → repeat the original test.
ObservedRecord what the original test actually shows

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 references

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.

observation · 1
Key points
  • Target name ≠ portal IP.
  • Portal reachable ≠ login permitted.
  • Target login ≠ LUN mapping.
  • Multiple portals ≠ independent storage controllers or network paths automatically.
Key checks
  • targetcli ls — LIO configuration
  • iscsiadm -m discovery -t st -p <portal> — targets advertised
  • array 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 elementPurpose
Target IQNIdentity of the target
TPG (target portal group)Portals (IP:port) and settings
ACLAllowed initiator IQNs
BackstoreBlock device, file or ramdisk backing a LUN

Expose targets only on storage networks, and use separate portals on separate subnets for multipathing.

Source basisSource attribution states what this section is based on; it is not independent proof that the current environment matches it.
Additional reference context Scope · expected state · examples · history · terminology Open only when you need the supporting context
Technical verification history

Verification history & basis

When and against what this Topic was checked. Later text edits do not count as a new check.

2026-09-14 · vendor docSAN and storage networking current

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%
Terminology layer

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.

Aliases that resolve here
iscsi targettarget iqniscsi server
Embedded reference data

Quick lookup tables

iSCSI → Target SAN/iSCSI map

Fast identity, path, presentation and proof boundaries for iSCSI → Target.

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
Confirmation

Confirm action

Continue?