Pcornel
Browse topics
Options
Recent
Favorites
Storage · Technical reference

Failed Disk

Direct answer

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.

When to use this

Use it when the symptom is “Failed Disk”: work through the layers in order and stop at the first one that fails.

First 30 seconds

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.

Operational verification

failure → identify → replace → rebuild

Context & applicabilityCommon mistakes · platform/version boundaries
Common mistakes
Failure and recovery traps

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.

Platform / version applicability
Storage architecture and operations
applies
Structured applicability is explicit Topic metadata; it does not infer compatibility beyond the stored rows.
At a glance

Operational reference

Fast context before you go deeper.

PlatformStorage architecture and operations · Linux / smartmontools
Key commandsmartctl -a /dev/sdX
Scope / prerequisiteUse it when the symptom is “Failed Disk”: work through the layers in order and stop at the first one that fails.
Reference · 1
What next?3 suggested next steps
Catalog command links1
Evidence1
On this pageJump to a specific section
Storage command reference

Primary Commands

Configuration and operational commands for this Topic.

Operational workflow

Verification & Troubleshooting

Start with the observed symptom, prove the nearest boundary, and move outward only when the current state is understood.

2 steps Observe → verify → isolate → change minimally → repeat the original test.
ObservedRecord what the original test actually shows

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 references

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.

observation · 1
Key points
  • 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.
Key checks
  • smartctl -a /dev/sdX — failure confirmed
  • mdadm --detail / zpool status / storcli show — array view
  • ledctl 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

SignalInterpretation
-H FAILEDReplace now
Growing reallocated or pending sectorsMedia degrading; replace soon
Self-test read failureUnreadable sectors
Many UDMA CRC errors, media fineCable or backplane, not the disk
Disk dropped by the controller, SMART unreadableElectronics 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).

Source basisSource attribution states what this section is based on; it is not independent proof that the current environment matches it.

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.

Source basisSource attribution states what this section is based on; it is not independent proof that the current environment matches it.
Additional reference context Scope · expected state · examples · history · terminology Open only when you need the supporting context
Technical verification history

Verification history & basis

When and against what this Topic was checked. Later text edits do not count as a new check.

2026-09-14 · vendor docStorage architecture and operations current

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%
Terminology layer

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.

Aliases that resolve here
failed diskfailed drivedisk media failurereplace failed disk
Embedded reference data

Quick lookup tables

Storage Troubleshooting → Failed Disk proof map

Fast scope, dependency, failure-boundary and acceptance checks for Storage Troubleshooting → Failed Disk.

Troubleshooting boundaryWhat to verifyProof limit
Scope / identityExact workload, object/device identity, affected hosts and incident windowSymptom naming alone is not root-cause proof
Dependency pathWorkload error → logical device/array member map → persistent disk identity → controller/path → device health/media → redundancy state → replacement/reconstruction → read-backHealthy adjacent layers do not prove end-to-end health
Failure boundaryA 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
AcceptanceHealthy 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
Confirmation

Confirm action

Continue?