Pcornel
Storage · Storage Monitoring

Disk Health

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

Back to the Topic

Answer

Disk health monitoring tracks SMART status, media errors, wear, temperature and rebuild status for every drive, so failing drives are replaced before redundancy is exhausted.

Remember

  • Replace failing disks before redundancy is exhausted.
  • Watch SMART, media errors and wear.
  • Rebuild status must be visible.

First checks

  • smartctl -H /dev/sdX; smartd — health
  • nvme smart-log — NVMe
  • Get-PhysicalDisk | ft FriendlyName,HealthStatus — Windows

Commands

smartctl -H
smartctl -A
smartctl -l selftest
journalctl -k
smartctl --json
esxcli storage core device smart get -d <dev>

Verify in this order

drive → health data → alert

Where it usually breaks

First mismatch in workload → filesystem/volume → queue/cache → path/protocol → controller/pool → media/backend → observed completion; 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=4374

Confirmation

Confirm action

Continue?