Smart¶
https://www.thomas-krenn.com/en/wiki/SMART_tests_with_smartctl
General drive information:
Short all informations, including test results:
Health assessment¶
GUI¶
cli¶
https://www.thomas-krenn.com/en/wiki/Analyzing_a_Faulty_Hard_Disk_using_Smartctl
Show self-health-indicator:
Show most important details:
Smart attributes explained¶
See also ~/projects/monitoring/prometheus/varac-alerts/custom-alerts/custom-alerts-general.yaml
Critical:
Warning:
Informational:
Tests¶
https://www.thomas-krenn.com/de/wiki/SMART_Tests_mit_smartctl
Show duration of tests¶
Test in background mode¶
Test in foreground mode¶
Only useful if the drive is NOT used by any other process! Also, it blocks access to smart log, so if possible, use the background mode!
Show test results¶
Issues with USB disks entering sleep mode¶
Tip: Poll test results in short intervals to prevent disk from sleeping
NVME disks¶
USB drives¶
https://www.smartmontools.org/wiki/USB
Prometheus¶
prometheus-community/smartctl_exporter¶
- GitHub
- Unfortunatly no aarch64 release builds
- Debian ITP
- Inofficial ontainer images:
Other¶
Vendor specific¶
Seagate¶
Install OpenSeaChest:
Usage example:
High Raw_Read_Error_Rate and Seek_Error_Rate¶
- Both 2 new Seagate IronWolf disks
ST6000VN006-2ZM186(6TB) showed, duringbadblockstest high rates/Prometheus alerts of:smartmon_seek_error_rate_raw_value(1M - 14M)smartmon_raw_read_error_rate_raw_value(0 - 240M)
- This Seagate RAW SMART Attributes to Error Converter
can be used to calculate the real numbers
- i.e.
Raw_Read_Error_Rateof169759400:0 errors in 169,759,400 operations
- i.e.
- Use
OpenSeaChestto look for the real valuse