Use it when the storage question has been narrowed to SAN → 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 · SAN
A LUN number identifies a logical unit within a target context, while persistent identifiers such as serial/WWID-style values are used by hosts to recognize the same underlying device across paths. Arrays map that logical unit to selected initiators.
1. A LUN is a numbered logical unit behind a target.
2. Grow at array → rescan → resize multipath → filesystem.
3. LUN IDs must be consistent across hosts for clusters.
4. Thin LUNs need monitoring.
5. Delete only after unmapping and confirming unused.
array volume → LUN id → host disk
Context & applicabilityCommon mistakes · platform/version boundaries
A LUN visible on the host shows presentation of a block object, but it does not show its identity by capacity alone, filesystem safety or redundancy.
Suspicious evidence: same-size devices confused, serial/WWID mismatch, unexpected LUN mapping, ungrouped paths or unknown filesystem ownership.
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 → logical unit → target/LUN number context → SAN paths → host persistent device ID → multipath → upper consumer
Healthy evidence: array and host agree on persistent identity/capacity, all expected paths group to one device and upper ownership is documented.
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 → SAN → LUN. Local intent: SAN LUN documents the SCSI logical-unit presentation used to expose a block address space to a host through one or more SAN paths.
Step 4 Where it fails Narrow the fault
Failure analysis for SAN → LUN follows the path through the components: initiator → link/fabric/network → session/login → target port → LUN/namespace presentation → multipath → block consumer. The Topic-specific failure focus is presentation identity must remain stable across target, path discovery, multipath aggregation and the consuming host
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.
- LUN number ≠ globally unique identifier.
- Same capacity ≠ same LUN.
- Multiple path devices with one persistent ID ≠ duplicate storage.
- Visible LUN ≠ safe-to-format or mount.
lsscsi -s— LUN sizessg_readcap /dev/sdX— capacityecho 1 > /sys/block/sdX/device/rescan— rescan after resize
ReferenceWhat it is1 section · depth on demand
In depth
On a SAN, a LUN (Logical Unit Number) is a block volume carved from an array's pool and presented to one or more hosts. Hosts identify LUNs reliably by their unique WWN/NAA identifier rather than by size or device name, which can change between reboots.
| Property | Notes |
|---|---|
| Size | Can usually be grown online; shrinking is risky |
| Thin/thick | Thin allocates on write; monitor pool usage |
| LUN ID | Number the host sees in mapping (e.g. LUN 0 for boot) |
| Unique ID (NAA/WWN) | Stable identity for multipath and filesystems |
| Shared vs dedicated | Shared LUNs need a cluster filesystem |
lsblk -o NAME,SIZE,WWN,VENDOR,MODEL
/lib/udev/scsi_id -g -u /dev/sdc
rescan-scsi-bus.sh -s # detect resized LUNs
Get-Disk | Select-Object Number, FriendlyName, UniqueId, Size
Always verify the unique ID before formatting or deleting a LUN — similar sizes make it easy to pick the wrong one.
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 → SAN → LUN. Local intent: SAN LUN documents the SCSI logical-unit presentation used to expose a block address space to a host through one or more SAN paths.
ReferenceImportant terms & boundaries2 sections · depth on demand
Identity and presentation
A LUN visible on the host shows presentation of a block object, but it does not show its identity by capacity alone, filesystem safety or redundancy.
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 SAN → 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 SAN → LUN. Documentation verification only; this is not observed lab or production Evidence.
Basis: https://www.snia.org/education/storage_networking_primer · 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
SAN → LUN SAN/iSCSI map
Fast identity, path, presentation and proof boundaries for SAN → 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 LUN visible on the host proves presentation of a block object; it does not prove its identity by capacity alone, filesystem safety or redundancy. | Correlate host, network/fabric and target/array evidence for the same time window |
| Acceptance | Healthy evidence: array and host agree on persistent identity/capacity, all expected paths group to one device and upper ownership is documented. | Close only after the original block workload and upper-layer consistency check succeeds |