TODO – add my notes
![]() |
Storage > Software > smartmontools >
(on Wikipedia)
https://www.smartmontools.org/
A HDD health program.
I find it essential. I think.
-
This is part of the smartmontools suite.
- 2016-12-01 – 6.5-1 on Windows 10 64bit
- 2016-03-30 – 5.43 on Slackware 14.1
- 2016-03-26 – 6.2 on Lubuntu 14.04.4 LTS
-
I vaguely knew about smartmontools before Lubuntu, but I don’t think I really used it.
Table of Contents [hide]
2016-12-01 – 6.5-1 ∞
The 32bit setup can install the 64bit program.
This is a commandline program. It works exactly like the linux version..
smartctl.exe -C -t long /dev/hda
2016-03-30 – 5.43 ∞
smartctl 5.43 2012-06-30 r3573 [i686-linux-3.10.17-smp] (local build)
I installed this from the official Slackware repository.
It seems to work just fine.
2016-03-26 – 6.2 ∞
I don’t know if this came with Lubuntu (version not recorded), or if I installed it from its official repository.
Spoiler
smartctl 6.2 2013-07-26 r3841 [x86_64-linux-3.13.0-76-generic] (local build) ... smartmontools release 6.2 dated 2013-07-26 at 17:38:20 UTC smartmontools SVN rev 3841 dated 2013-07-26 at 17:38:57 smartmontools build host: x86_64-unknown-linux-gnu smartmontools build configured: 2014-02-28 12:32:43 UTC smartctl compile dated Feb 28 2014 at 12:32:59 smartmontools configure arguments: '--prefix=/usr' '--sysconfdir=/etc' '--mandir=/usr/share/man' '--with-initscriptdir=no' '--with-docdir=/usr/share/doc/smartmontools' '--enable-drivedb' '--enable-savestates' '--enable-attributelog' '--with-savestates=/var/lib/smartmontools/smartd.' '--with-attributelog=/var/lib/smartmontools/attrlog.' '--with-exampledir=/usr/share/doc/smartmontools/examples/' '--with-drivedbdir=/var/lib/smartmontools/drivedb' '--with-selinux' 'CXXFLAGS=-fsigned-char -Wall -O2' 'CFLAGS=-fsigned-char -Wall -O2'
I used it extensively, calling it from scripts.
Usage/Troubleshooting ∞
on Windows ∞
(Windows)
- Make sure you run an admin command prompt.
- If security is running, allow smartctl to access the raw drives.
-
You refer to drives just as with Linux, e.g. with
/dev/sdx
Enabling SMART ∞
\smartctl --smart=on --offlineauto=on --saveauto=on /dev/sdx
-t long stuck at 10% remaining ∞
Try:
smartctl /dev/sdx -t select,0-max


Added a usage/troubleshooting section.