Pcornel
Storage · Data Integrity

SMART

Cheat sheet · https://pcornel.dk/topic.php?topic=4318

Back to the Topic

Answer

SMART data on a drive also serves data integrity: rising reallocated, pending or uncorrectable sector counts and CRC errors warn that the drive or cable is starting to corrupt or lose data.

Remember

  • Pending and uncorrectable sectors mean unreadable data.
  • CRC errors usually mean cables.
  • Track trends, not single values.

First checks

  • smartctl -a /dev/sdX — SMART data
  • smartctl -l error /dev/sdX — error log
  • nvme smart-log /dev/nvme0 — NVMe health

Verify in this order

drive self-monitoring → attributes → monitoring

Where it usually breaks

First mismatch in media/provider → controller/pool → logical object → path/protocol → filesystem/share/object namespace → consumer workload; preserve identity/pre-state before mutation.

Read-only verification commands unless stated otherwise. Confirm syntax for your platform and release. Full reference: https://pcornel.dk/topic.php?topic=4318

Confirmation

Confirm action

Continue?