smartctl linux traffic often lands on our SMART health overview — this guide focuses on smartctl -x and the smartctl commands operators run in incidents (103 impressions on GSC for smartctl linux).
Hypervisor storage: Proxmox Ceph.
Health summary
-H prints PASSED/FAILED quickly.
bashhealth
sudo smartctl -H /dev/sda

Full extended report
-x combines capabilities, attributes, and logs — best single paste for tickets.
bash-x
sudo smartctl -x /dev/sda | less

Run self-tests
Short offline/online tests before declaring a disk good.
bashtest
sudo smartctl -t short /dev/sda
sudo smartctl -l selftest /dev/sda

NVMe
Use nvme smart-log or smartctl on /dev/nvme0 with correct device type.
TipMatch device names from
lsblk — do not scan the wrong LUN on a VM host.
Quick Reference
- Quick:
smartctl -H /dev/DISK - Full:
smartctl -x /dev/DISK - Tests:
smartctl -t short /dev/DISK
Related tutorials
Diagrams are original illustrations by Gnome IT Solutions. Tutorial text © Gnome IT Solutions.