Storage · Storage Troubleshooting
LUN Not Visible
Cheat sheet · https://pcornel.dk/topic.php?topic=4399
Answer
Visibility is a chain: array LUN identity → host/initiator group mapping → target port → zoning or iSCSI session → host path discovery → persistent WWID → multipath device → upper consumer.
Remember
- LUN exists on array ≠ host is mapped to it.
- Correct zoning ≠ LUN mapping/masking.
- iSCSI session established ≠ target exported the intended LUN.
- A raw path device visible ≠ safe multipath/filesystem ownership established.
First checks
rescan-scsi-bus.sh— rescanlsscsi; multipath -ll— LUN present?array mapping/zoning— configuration
Commands
lsscsi -t- List SCSI transport devices. Focus fields: host/channel/target/LUN, transport, device type and block-device mapping.
iscsiadm -m sessionjournalctl -kmultipath -lllsblkesxcli storage core adapter rescan --all
Verify in this order
array LUN → mapping → zoning → host rescan
Where it usually breaks
First mismatch in media/provider → controller/pool → logical object → path/protocol → filesystem/share/object namespace → consumer workload; preserve identity/pre-state before mutation.
Storage Troubleshooting → LUN Not Visible proof map
| Troubleshooting boundary | What to verify | Proof limit |
|---|---|---|
| Scope / identity | Exact workload, object/device identity, affected hosts and incident window | Symptom naming alone is not root-cause proof |
| Dependency path | Array LUN/WWID → host mapping/masking → target port → FC zoning or iSCSI session → host path discovery → multipath → volume/filesystem | Healthy adjacent layers do not prove end-to-end health |
| Failure boundary | A missing LUN proves presentation did not reach the expected host consumer; it does not identify whether array mapping, transport, discovery or multipath is the failed boundary. | Correlate evidence for the same operation and timestamps |
| Acceptance | Healthy evidence shows the intended WWID consistently from array mapping through host path discovery and multipath to the expected consumer. | Close only after the original workload/recovery test and regression check |
Read-only verification commands unless stated otherwise. Confirm syntax for your platform and release. Full reference: https://pcornel.dk/topic.php?topic=4399