Use it when the symptom is “Failed Disk”: work through the layers in order and stop at the first one that fails.
Failed Disk
Prove failure using persistent device identity and correlated device/controller health: media errors, SMART/NVMe status where applicable, controller events, read/write failures and array membership state.
1. Confirm the failed disk by serial.
2. Replace in the correct slot (locate LED).
3. Start rebuild/resilver.
4. Return failed disk per policy (secure handling).
5. Verify optimal.
failure → identify → replace → rebuild
Context & applicabilityCommon mistakes · platform/version boundaries
A failed-device state shows a member is unusable according to that layer, but it does not show the rest of the redundancy set, filesystem or restored data is healthy.
Suspicious evidence includes uncorrectable media errors, repeated command timeouts/resets, failed state in the array, rapidly growing error counters or mismatch between slot and persistent identity.
Operational reference
Fast context before you go deeper.
smartctl -a /dev/sdXPrimary Commands
Configuration and operational commands for this Topic.
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
Workload error → logical device/array member map → persistent disk identity → controller/path → device health/media → redundancy state → replacement/reconstruction → read-back
Healthy evidence after remediation shows the intended replacement identity, restored redundancy, no continuing media/path errors and successful data read-back.
Step 2 Branching troubleshooting Narrow the fault
Concrete boundaries: block request → host queue/driver → controller/firmware → media → completion status/latency → filesystem/application read-back.
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.
- A disk marked failed ≠ root cause of every application error.
- Path loss ≠ media failure; the same disk may remain healthy through another path.
- SMART warning ≠ immediate unreadability, and no SMART warning ≠ healthy device.
- Replacing by slot name alone is unsafe when enclosure mapping or identifiers are ambiguous.
smartctl -a /dev/sdX— failure confirmedmdadm --detail / zpool status / storcli show— array viewledctl locate=/dev/sdX— identify slot
ReferenceWhy it matters1 section · depth on demand
How it works in operation
Block I/O reaches a device queue/controller, firmware translation/cache and NAND or magnetic media. SMART/NVMe health fields are indicators with vendor-defined thresholds; “PASSED” does not show absence of latency spikes, path errors or filesystem corruption. Queue depth, thermal throttling, media errors and controller resets can affect workload independently.
ReferenceImportant terms & boundaries4 sections · depth on demand
Scope and what the checks show
A failed-device state shows a member is unusable according to that layer, but it does not show the rest of the redundancy set, filesystem or restored data is healthy.
In depth
Confirm the failure, identify the physical disk, replace it safely
# smartctl -H /dev/sdc
SMART overall-health self-assessment test result: FAILED!
Drive failure expected in less than 24 hours. SAVE ALL DATA.
# smartctl -i /dev/sdc | grep -E 'Model|Serial|Capacity'
# smartctl -l error /dev/sdc
# smartctl -a -d megaraid,5 /dev/sda # disk behind a MegaRAID controller
smartctl(8) documents -H (health status; a failing result means the device has failed or is expected to fail within 24 hours), -a/-x, the error and self-test logs, and -d TYPE for disks behind RAID controllers.
Failure signals
| Signal | Interpretation |
|---|---|
-H FAILED | Replace now |
| Growing reallocated or pending sectors | Media degrading; replace soon |
Self-test read failure | Unreadable sectors |
| Many UDMA CRC errors, media fine | Cable or backplane, not the disk |
| Disk dropped by the controller, SMART unreadable | Electronics or firmware failure |
Replacement procedure
1. Confirm the redundancy layer is healthy apart from this disk (md, ZFS, controller).
2. Map the device name to the serial number and slot (ls -l /dev/disk/by-id/, enclosure LEDs, ledctl locate=/dev/sdc).
3. Remove it from the array (mdadm --fail/--remove, zpool offline) where applicable.
4. Replace the disk with the same size or larger and the same sector size.
5. Add it back (mdadm --add, zpool replace) and monitor the rebuild to completion.
Pulling the wrong disk in a degraded array is the classic way to turn one failure into data loss. Always verify by serial number.
Illustrative example (not a system capture).
Platform, version and operating-envelope scope
SMART/NVMe attributes, thresholds and firmware behavior are device/vendor/version specific. Concrete boundaries: block request → host queue/driver → controller/firmware → media → completion status/latency → filesystem/application read-back.
Method
A failed disk must be identified precisely, replaced safely and the rebuild verified — while remembering the array has reduced redundancy until it finishes.
1. Confirm which disk failed (serial number, slot, by-id path) — not just the device name.
2. Check that the remaining members are healthy before touching anything.
3. Check backups if redundancy is now zero.
4. Mark the disk failed/removed in software RAID; locate it with the LED.
5. Replace with an equal or larger disk and start the rebuild.
6. Monitor the rebuild and check SMART on the other disks.
smartctl -a /dev/sdc | grep -iE 'serial|reallocated|pending|result'
mdadm /dev/md0 --fail /dev/sdc1 --remove /dev/sdc1
ledctl locate=/dev/sdc
mdadm /dev/md0 --add /dev/sdd1
watch cat /proc/mdstat
zpool replace tank ata-OLD ata-NEW
Pulling the wrong disk from a degraded array can destroy it — always verify slot and serial number.
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 Storage Troubleshooting → Failed Disk. Documentation verification only; this is not observed lab or production Evidence.
Basis: https://docs.kernel.org/block/index.html · 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
Storage Troubleshooting → Failed Disk proof map
Fast scope, dependency, failure-boundary and acceptance checks for Storage Troubleshooting → Failed Disk.
| 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 | Workload error → logical device/array member map → persistent disk identity → controller/path → device health/media → redundancy state → replacement/reconstruction → read-back | Healthy adjacent layers do not prove end-to-end health |
| Failure boundary | A failed-device state proves a member is unusable according to that layer; it does not prove the rest of the redundancy set, filesystem or restored data is healthy. | Correlate evidence for the same operation and timestamps |
| Acceptance | Healthy evidence after remediation shows the intended replacement identity, restored redundancy, no continuing media/path errors and successful data read-back. | Close only after the original workload/recovery test and regression check |