Rebuild Time
Cheat sheet · https://pcornel.dk/topic.php?topic=3933
Answer
Rebuild duration depends on member capacity, amount of data actually reconstructed, surviving-member throughput, controller limits, rebuild priority, workload contention, error recovery and RAID level. Simple capacity ÷ throughput estimates are only lower-bound approximations.
Remember
- Large drive ≠ fixed rebuild time.
- Rebuild percentage ≠ linear time remaining.
- Faster rebuild ≠ always better if it destabilizes production workload.
- Estimated completion time ≠ proof of surviving-member health.
First checks
cat /proc/mdstat— speed and ETAcat /proc/sys/dev/raid/speed_limit_min— md rebuild speed limitsstorcli /c0 show rebuildrate— controller rate
Verify in this order
disk size + load + rate → rebuild time
Where it usually breaks
First mismatch in member media → metadata/layout → allocation/placement → redundancy/recovery → logical object → consumer; preserve identity/pre-state before mutation.
RAID → Rebuild Time RAID map
| RAID boundary | What to verify | Proof limit |
|---|---|---|
| Layout / topology | RAID level, member grouping, effective member size and stripe/mirror/parity structure | The label alone does not prove current member health or exact failure tolerance |
| Protection state | Array state, members, spares, cache protection and active rebuild/consistency work | Optimal/online state does not prove backup or application integrity |
| Failure boundary | A rebuild ETA is an estimate under current conditions; it does not guarantee linear progress or successful completion. | Failure tolerance must be evaluated against the exact layout and failure pattern |
| Acceptance | Healthy evidence: progress rate is stable, ETA is consistent with measured throughput, surviving members remain healthy and workload objectives are maintained. | Close only after the original workload/data check succeeds |
Read-only verification commands unless stated otherwise. Confirm syntax for your platform and release. Full reference: https://pcornel.dk/topic.php?topic=3933