Pcornel
Browse topics
Options
Recent
Favorites
Storage · Technical reference

SMART & Disk Health

Direct answer

SMART and disk health monitoring reads a drive's self-reported attributes — reallocated and pending sectors, wear, temperature, errors — with tools like smartctl to replace drives before they fail.

When to use this

Use this when reading SMART data to decide whether a drive is failing, or when setting up disk health monitoring.

First 30 seconds

1. SMART monitoring: smartd with email alerts.

2. Schedule short/long tests.

3. Track key attributes.

4. NVMe: critical_warning, media_errors, percentage_used.

5. Replace on warning.

Operational verification

drive → SMART → smartd → alert

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 · Linux · smartmontools / Linux
Key commandsudo smartctl -x <device>
Scope / prerequisiteUse this when reading SMART data to decide whether a drive is failing, or when setting up disk health monitoring.
Reference · 3
What next?3 suggested next steps
Child topics (this level)8
Catalog command links3
Evidence0
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.

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 Step-by-step failure diagnosis Narrow the fault

SMART healthy does not show a disk/path is failure-free, and one attribute does not show causation.

Drill down

Subtopics

Go one level deeper into this subject.

Key points
  • A passed overall SMART status does not mean the drive is healthy.
  • Rising reallocated, pending or uncorrectable counts mean replace soon.
  • SSDs often fail suddenly; watch wear indicators.
Key checks
  • smartctl --scan; smartctl -H /dev/sdX — overall health
  • smartd -q onecheck — smartd config test
  • nvme smart-log /dev/nvme0 — NVMe
ReferenceHow it works2 sections · depth on demand

Common mistakes

  • Checking only the overall PASSED result.

Commands

smartctl -a /dev/sda
smartctl -x /dev/sda       # extended (SAS/NVMe details)
systemctl status smartd
ReferenceImportant terms & boundaries2 sections · depth on demand

How it works

Disk health monitoring reads SMART/NVMe health data regularly, alerts on warning attributes and trends, and triggers replacement before failures cause data loss or long rebuilds.

Reference

AttributeMeaning
5 Reallocated_Sector_CtRemapped bad sectors
197 Current_Pending_SectorUnstable sectors waiting for remap
198 Offline_UncorrectableUnreadable sectors
199 UDMA_CRC_Error_CountCable/connection errors
194 TemperatureDrive temperature
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. Documentation verification only; this is not observed lab or production Evidence.

Basis: https://www.smartmontools.org/ · confidence 94%
Confirmation

Confirm action

Continue?