Pcornel
Browse topics
Options
Recent
Favorites
Storage · Technical reference

Drive Failure Prediction

Direct answer

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.

When to use this

Use this when predicting drive failures from SMART trends.

First 30 seconds

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.

Operational verification

attribute trends → prediction → proactive replacement

Context & applicabilityCommon mistakes · platform/version boundaries
Platform / version applicability
Physical storage media and interfaces
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.

PlatformPhysical storage media and interfaces
Scope / prerequisiteUse this when predicting drive failures from SMART trends.
What next?3 suggested next steps
Evidence1
On this pageJump to a specific section
Operational workflow

Verification & Troubleshooting

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

1 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 Common mistakes Narrow the fault
  • Relying on SMART alone instead of redundancy.
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
  • Trends matter more than one reading.
  • Not all failures are predicted.
  • Keep redundancy anyway.
Key checks
  • smartctl -H /dev/sdX — overall assessment
  • smartd.conf with -a -o on -S on -s schedule — monitoring
  • historical 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)

AttributeWhy it matters
5 Reallocated sectorsMedia is failing
187 Reported uncorrectableReads failed despite ECC
188 Command timeoutsDrive or link instability
197 Pending sectorsUnreadable sectors waiting for a rewrite
198 Offline uncorrectableSectors failed in offline scans
NVMe media_errors, available_spareFlash media health

A practical prediction rule

ConditionAction
-H FAILEDReplace immediately
Any of 5/187/197/198 risingReplace proactively
Self-test read failureReplace
Only CRC errors risingFix 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.

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

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.

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 docPhysical storage media and interfaces current

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%
Confirmation

Confirm action

Continue?