Disk Not Detected
Cheat sheet · https://pcornel.dk/topic.php?topic=4382
Answer
Discovery is layered: device/media → controller or transport → enclosure/fabric/path → host driver/initiator → OS block inventory → upper-layer claim. Absence at one layer narrows the next check.
Remember
- Disk not listed by the OS ≠ failed media automatically.
- Controller sees a device ≠ the OS has a usable path/driver to it.
- LUN presented ≠ host rescan/discovery and multipath assembly completed.
- A new device name ≠ the expected disk; preserve serial/WWN/UUID identity.
First checks
lsblk; lsscsi— device listed?dmesg | grep -i -e sd -e nvme -e ata— detection messagesecho '- - -' > /sys/class/scsi_host/host0/scan— rescan SCSI host
Commands
lsscsi -t- List SCSI transport devices. Focus fields: host/channel/target/LUN, transport, device type and block-device mapping.
lsblklsblk --list-columnsmount
Verify in this order
power → link → controller → driver → device
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 → Disk Not Detected 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 | Expected device identity → media/device → controller/transport → enclosure/fabric/target → host driver/initiator → OS block inventory → upper consumer | Healthy adjacent layers do not prove end-to-end health |
| Failure boundary | A missing OS device proves only that discovery did not complete to the OS; it does not distinguish failed media, cabling, controller, zoning/mapping, driver or scan state by itself. | Correlate evidence for the same operation and timestamps |
| Acceptance | Healthy evidence shows the expected persistent identifier at each required discovery layer and stable read access from the intended host. | 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=4382