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.
LUN · iSCSI
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.
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.
target LUN → session → SCSI disk → multipath
Context & applicabilityCommon mistakes · platform/version boundaries
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.
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
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 · 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.
- iSCSI session ≠ LUN access.
- LUN number ≠ globally unique device identity.
- Same-size LUN ≠ same device.
- Multiple sessions showing one LUN ≠ multiple independent data copies.
lsscsi -t | grep iscsi— iSCSI LUNsiscsiadm -m session -P 3 | grep -E 'Lun|Attached scsi disk'— LUN to device mappingGet-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).
| Task | Linux | Windows |
|---|---|---|
| See LUNs | lsblk, iscsiadm -m session -P 3 | Get-Disk |
| Rescan after resize | iscsiadm -m session --rescan | Update-HostStorageCache |
| Persistent naming | /dev/disk/by-id/ or multipath alias | Disk unique ID |
| Bring online | Mount filesystem | Set-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.
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 → LUN. 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 → LUN SAN/iSCSI map
Fast identity, path, presentation and proof boundaries for iSCSI → LUN.
| 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 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 |
| Acceptance | 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. | Close only after the original block workload and upper-layer consistency check succeeds |