Use it when the symptom is “Degraded RAID”: work through the layers in order and stop at the first one that fails.
Degraded RAID
A degraded array still serves data from remaining members but has reduced or exhausted fault tolerance; risk depends on RAID level, subgroup layout and which members failed.
1. Degraded RAID: replace failed member quickly.
2. Avoid extra load and reboots.
3. Check backups.
4. Check other members' health.
5. Rebuild.
member lost → degraded → replace → rebuild
Context & applicabilityCommon mistakes · platform/version boundaries
Degraded state shows redundancy has been reduced, but it does not show which physical cause triggered it or that remaining members can survive rebuild workload.
Suspicious evidence includes multiple questionable members, media errors on survivors, write-cache/controller faults, unexpected subgroup failures or worsening errors during rebuild.
Operational reference
Fast context before you go deeper.
mdadm --detail /dev/md0Primary 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
Application I/O → filesystem/volume → RAID virtual device → stripe/mirror/parity mapping → member set → degraded tolerance → rebuild → read-back
Healthy evidence shows the expected member set restored to optimal/normal with stable member health and successful application-level 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.
- Degraded ≠ failed array; data may still be accessible.
- Degraded ≠ safe; remaining fault tolerance can be zero.
- RAID 10/50/60 tolerance depends on mirror or parity subgroup placement, not only total failed-disk count.
- RAID ≠ backup; rebuild cannot recover independent deleted or corrupted data.
cat /proc/mdstat— degraded mdzpool status— DEGRADED vdevstorcli /c0/vall show— Dgrd
ReferenceWhy it matters1 section · depth on demand
How it works in operation
RAID maps logical stripes/blocks across members with mirror/parity rules. Degraded can remain online while redundancy margin is lost; rebuild reads surviving members and writes replacement data, consuming bandwidth and exposing latent read errors. Controller “optimal” does not show filesystem consistency or application durability above the array.
ReferenceHow it works1 section · depth on demand
How it works
Degraded can remain online while redundancy margin is lost; rebuild reads surviving members and writes replacement data, consuming bandwidth and exposing latent read errors. Controller “optimal” does not show filesystem consistency or application durability above the array.
ReferenceImportant terms & boundaries3 sections · depth on demand
Scope and what the checks show
Degraded state shows redundancy has been reduced, but it does not show which physical cause triggered it or that remaining members can survive rebuild workload.
RAID maps logical stripes/blocks across members with mirror/parity rules. Degraded can remain online while redundancy margin is lost; rebuild reads surviving members and writes replacement data, consuming bandwidth and exposing latent read errors. Controller “optimal” does not show filesystem consistency or application durability above the array. Close with Identify exact member IDs and redundancy level, verify rebuild progress/error counters and controller/cache state, then test representative I/O plus filesystem/data read-back. and state what the evidence does not show.
In depth
Confirm the state, find the cause, then restore redundancy
# mdadm --detail /dev/md0
/dev/md0:
Raid Level : raid1
Raid Devices : 2
Total Devices : 1
State : clean, degraded
Active Devices : 1
Failed Devices : 0
Number Major Minor RaidDevice State
0 8 1 0 active sync /dev/sda1
- 0 0 1 removed
# cat /sys/block/md0/md/degraded
1
The kernel md documentation describes degraded as the number of missing devices (0 = optimal). mdadm --detail --test returns exit code 1 when at least one device has failed.
Why it degraded
| Evidence | Cause |
|---|---|
| Kernel log shows I/O errors, then md kicks the member | Disk failure or bad sectors |
| Member missing after reboot, disk healthy | Device name change, missing from mdadm.conf/initramfs, controller issue |
| Link resets on the SATA/SAS port | Cable, backplane, controller |
# journalctl -k -b | grep -iE 'md/raid|ata[0-9]|I/O error'
# smartctl -a /dev/sdb
# mdadm --examine /dev/sdb1 # superblock on the member
--examine shows the superblock on the member disk; if it is still a recent member, --re-add may be enough.
Restore
| Case | Action |
|---|---|
| Disk healthy, temporarily missing | mdadm /dev/md0 --re-add /dev/sdb1 |
| Disk failed | Replace, partition, mdadm /dev/md0 --add /dev/sdX1 |
| Boot array | Install the bootloader on the new disk too |
Monitoring
mdadm --monitor --scan reports events such as Fail and DegradedArray; configure MAILADDR or a program in mdadm.conf so a degraded array is never discovered by accident.
*The sample mdadm inventory shows a missing mirror member, rather than actual disk availability.*
Method
A degraded RAID is still serving data but has lost some redundancy. The priority is to protect data, find the cause and rebuild without stressing the array further.
1. Read the array status to see which member is missing or failed.
2. Decide whether it is a failed disk or a disconnected one (cable, backplane, controller).
3. Ensure a recent backup exists, especially for RAID 5 or RAID 1 with one disk left.
4. Replace or reconnect the member and rebuild.
5. Reduce heavy workloads during rebuild if possible.
cat /proc/mdstat
mdadm --detail /dev/md0
storcli /c0 show # Broadcom/LSI hardware RAID
perccli /c0/v0 show all # Dell PERC
| State | Meaning |
|---|---|
| Degraded | Running with reduced redundancy |
| Rebuilding/Recovering | Copying to replacement |
| Failed/Offline | Too many members lost — stop, do not force without expert guidance |
After rebuild, run a consistency check or scrub to confirm parity is correct.
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 → Degraded RAID. 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 → Degraded RAID proof map
Fast scope, dependency, failure-boundary and acceptance checks for Storage Troubleshooting → Degraded RAID.
| 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 | Application I/O → filesystem/volume → RAID virtual device → stripe/mirror/parity mapping → member set → degraded tolerance → rebuild → read-back | Healthy adjacent layers do not prove end-to-end health |
| Failure boundary | Degraded state proves redundancy has been reduced; it does not prove which physical cause triggered it or that remaining members can survive rebuild workload. | Correlate evidence for the same operation and timestamps |
| Acceptance | Healthy evidence shows the expected member set restored to optimal/normal with stable member health and successful application-level read-back. | Close only after the original workload/recovery test and regression check |