Pcornel
Browse topics
Options
Recent
Favorites
Storage · Technical reference

LUN · iSCSI

Direct answer

After login, the target exposes only logical units authorized for the initiator. The same LUN may be reachable through several target portals/sessions; the host must recognize a stable identifier and group those paths correctly.

When to use this

Use it when the storage question has been narrowed to iSCSI → LUN. 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. iSCSI LUNs appear as SCSI disks.

2. Use multipath devices, not /dev/sdX.

3. Rescan after adding LUNs: iscsiadm -m session --rescan.

4. Same LUN ID on cluster hosts.

5. Filesystems with _netdev in fstab.

Operational verification

target LUN → session → SCSI disk → multipath

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

A host-visible iSCSI LUN shows target presentation across at least one session, but it does not show path redundancy, safe ownership or backend integrity.

Suspicious evidence: missing/unexpected LUN, identity mismatch across paths, duplicate ungrouped devices, wrong initiator mapping or unsafe filesystem access.

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 → LUN. Preserve stable endpoint/LUN identity, separate conn…
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.

4 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

array volume → target LUN mapping → iSCSI target/session → TCP paths → host persistent LUN ID → multipath → upper consumer

Healthy evidence: target mapping and host persistent ID agree, capacity is expected, every designed session/path resolves to one multipath device and controlled I/O succeeds.

Step 2 Verification path Verify boundary

Record device/LUN/namespace/volume/filesystem/share/object identifiers plus path and consumer identity where applicable; inspect the responsible layer; then perform an independent read-back of the block, file, object or data-protection service consumed by the workload.

Step 3 Native branching decision path Narrow the fault

Observation → implication → next check: if the session exists but the LUN is missing, inspect target masking/mapping and perform a controlled rescan. If paths exist but no multipath device is assembled, inspect WWID/path state. If the block device exists but the filesystem/volume is missing, move upward to LVM/filesystem. Close with an application read/write test.

Path: Storage → iSCSI → LUN. Local intent: iSCSI LUN is a SCSI logical unit made accessible through an iSCSI target session and presented to the host as a block device.

Step 4 Where it fails Narrow the fault

Failure analysis for iSCSI → LUN follows the path through the components: initiator → link/fabric/network → session/login → target port → LUN/namespace presentation → multipath → block consumer.

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
  • iSCSI session ≠ LUN access.
  • LUN number ≠ globally unique device identity.
  • Same-size LUN ≠ same device.
  • Multiple sessions showing one LUN ≠ multiple independent data copies.
Key checks
  • lsscsi -t | grep iscsi — iSCSI LUNs
  • iscsiadm -m session -P 3 | grep -E 'Lun|Attached scsi disk' — LUN to device mapping
  • Get-Disk | ? BusType -eq iSCSI — Windows
ReferenceWhat it is1 section · depth on demand

In depth

Within iSCSI, a LUN is the block device a target presents through a session; the initiator sees it as a local SCSI disk. Each LUN maps to a backstore on the target (a logical volume, zvol, file or array volume).

TaskLinuxWindows
See LUNslsblk, iscsiadm -m session -P 3Get-Disk
Rescan after resizeiscsiadm -m session --rescanUpdate-HostStorageCache
Persistent naming/dev/disk/by-id/ or multipath aliasDisk unique ID
Bring onlineMount filesystemSet-Disk -IsOffline $false
iscsiadm -m session --rescan
lsblk -o NAME,SIZE,WWN,TRAN
resize2fs /dev/mapper/mpatha       # after growing the LUN and multipath map

Mount iSCSI filesystems with _netdev in /etc/fstab so the system waits for the network and iSCSI login, and never mount the same LUN on two hosts without a cluster filesystem.

ReferenceHow it works1 section · depth on demand

How it works

A LUN is a target-presented logical block unit identified within a storage session and then mapped into a host SCSI device, often through multiple paths. LUN number, target identity, path WWID and host device name are related identifiers but not interchangeable; stable troubleshooting should follow the WWID/LUN through every layer.

Path: Storage → iSCSI → LUN. Local intent: iSCSI LUN is a SCSI logical unit made accessible through an iSCSI target session and presented to the host as a block device.

ReferenceImportant terms & boundaries2 sections · depth on demand

Identity and presentation

A host-visible iSCSI LUN shows target presentation across at least one session, but it does not show path redundancy, safe ownership or backend integrity.

Operational checks for LUN — Identity, presentation and ownership boundary: Anchor stable filesystem/volume/LUN/share/device identities across host, path/fabric, controller/pool and media so retries or multipath do not hide the failed leg. SAN I/O crosses host filesystem/volume/block layer, multipath device, HBA/NIC session, fabric/network, target port, LUN mapping and storage controller/pool/media. A visible LUN or logged-in session does not show all paths are healthy, the intended LUN identity is mapped, or workload I/O completes without retries/latency. Trace this Topic using stable identifiers through filesystem/share → volume/LUN → path/multipath/fabric → controller/pool → media/backend → application I/O. Close with Match stable device/LUN IDs across host and array, inspect every path/session state and error/latency counters, then run representative I/O and read-back through the original workload. and state what the evidence does not show.

Mechanics

For iSCSI → LUN, stable identity is device/LUN/namespace/volume/filesystem/share/object identifiers plus path and consumer identity where applicable.

Follow the path in order: initiator → link/fabric/network → session/login → target port → LUN/namespace presentation → multipath → block consumer.

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 → LUN. 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 lunlun over iscsiiscsi disk
Embedded reference data

Quick lookup tables

iSCSI → LUN SAN/iSCSI map

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

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 host-visible iSCSI LUN proves target presentation across at least one session; it does not prove path redundancy, safe ownership or backend integrity.Correlate host, network/fabric and target/array evidence for the same time window
AcceptanceHealthy evidence: target mapping and host persistent ID agree, capacity is expected, every designed session/path resolves to one multipath device and controlled I/O succeeds.Close only after the original block workload and upper-layer consistency check succeeds
Confirmation

Confirm action

Continue?