Pcornel
Storage · Storage Troubleshooting

LUN Not Visible

Cheat sheet · https://pcornel.dk/topic.php?topic=4399

Back to the Topic

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 — rescan
  • lsscsi; 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 session
journalctl -k
multipath -ll
lsblk
esxcli 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 boundaryWhat to verifyProof limit
Scope / identityExact workload, object/device identity, affected hosts and incident windowSymptom naming alone is not root-cause proof
Dependency pathArray LUN/WWID → host mapping/masking → target port → FC zoning or iSCSI session → host path discovery → multipath → volume/filesystemHealthy adjacent layers do not prove end-to-end health
Failure boundaryA 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
AcceptanceHealthy 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

Confirmation

Confirm action

Continue?