Use this when predicting drive failures from SMART trends.
Drive Failure Prediction
Drive failure prediction uses SMART trends — reallocated, pending and uncorrectable sectors, CRC errors, SSD wear — to replace drives before they fail. It catches many but not all failures, so redundancy is still needed.
1. Failure prediction: SMART thresholds and trends (5, 187, 188, 197, 198).
2. Many failures have no warning — keep redundancy.
3. Replace on trend increases.
4. Fleet statistics help.
5. Use vendor tools for SSD.
attribute trends → prediction → proactive replacement
Context & applicabilityCommon mistakes · platform/version boundaries
Operational reference
Fast context before you go deeper.
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 Common mistakes Narrow the fault
- Relying on SMART alone instead of redundancy.
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.
- Trends matter more than one reading.
- Not all failures are predicted.
- Keep redundancy anyway.
smartctl -H /dev/sdX— overall assessmentsmartd.conf with -a -o on -S on -s schedule— monitoringhistorical SMART trends— prediction
ReferenceHow it works1 section · depth on demand
Reference
- Trend key attributes (5, 187, 188, 197, 198, 199) in monitoring.
- Alert on any increase, not just threshold crossings.
- Keep spares and backups.
ReferenceImportant terms & boundaries3 sections · depth on demand
In depth
SMART predicts some failures; plan for the ones it misses
smartctl(8) documents -H. A failing result means the device has failed, or predicts failure within 24 hours. Because many drives fail without a prior SMART warning, prediction is one input, not a guarantee.
# smartctl -H /dev/sda
SMART overall-health self-assessment test result: PASSED
# smartctl -A /dev/sda | awk '$1~/^(5|187|188|197|198)$/{print $2, $10}'
Reallocated_Sector_Ct 0
Reported_Uncorrect 0
Command_Timeout 0
Current_Pending_Sector 0
Offline_Uncorrectable 0
# smartctl -l selftest /dev/sda
Signals with the most predictive value (field experience)
| Attribute | Why it matters |
|---|---|
| 5 Reallocated sectors | Media is failing |
| 187 Reported uncorrectable | Reads failed despite ECC |
| 188 Command timeouts | Drive or link instability |
| 197 Pending sectors | Unreadable sectors waiting for a rewrite |
| 198 Offline uncorrectable | Sectors failed in offline scans |
NVMe media_errors, available_spare | Flash media health |
A practical prediction rule
| Condition | Action |
|---|---|
-H FAILED | Replace immediately |
| Any of 5/187/197/198 rising | Replace proactively |
| Self-test read failure | Replace |
| Only CRC errors rising | Fix cable or backplane, keep the disk |
Design so prediction is not required
- Redundancy (RAID 6, raidz2, 3-way replication) sized for failures during rebuilds.
- Hot spares or spare stock, so replacement starts at once.
- Regular scrubs, so latent sector errors are found before a rebuild depends on them.
- Backups, because prediction and redundancy do not protect against deletion or corruption.
Documented example, not captured output.
Quick reference
Prediction combines SMART attributes, error logs and trends. Single attributes catch only part of failures — many drives fail without warning — so prediction complements redundancy and backups rather than replacing them. Array vendors and tools like smartd raise predictive-failure alerts; replace drives proactively when they appear.
Reference
SMART predicts some failures (rising reallocated/pending, CRC errors) but many drives fail without warning. Combine SMART trends with redundancy and backups; Backblaze's published data shows a handful of attributes are the strongest predictors.
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 SMART & Disk Health → Drive Failure Prediction. Documentation verification only; this is not observed lab or production Evidence.
Basis: https://www.smartmontools.org/ · confidence 94%