TODO - add my notes, and scripts
Storage > Software > smartmontools >
(on Wikipedia)
https://www.smartmontools.org/
A suite of HDD tools.
I find it essential. I think.
-
smartctl is the most important component for me.
- 2016-03-30 - 5.43, on Slackware 14.1
- 2016-03-26 - 6.2, on Lubuntu 14.04.4 LTS
- 2009-03-31 - (version not recorded) on PCLinuxOS (version not recorded)
-
I had known it before this time.
Table of Contents [hide]
on Windows ∞
- https://sourceforge.net/projects/smartmontools/
-
https://gsmartcontrol.shaduri.dev/ 1
- 2016-11-04 - 0.8.7 on Windows 10 64bit -- works great!
With an admin command prompt, run the usual comamnds:
smartctl -a /dev/sdc
A quick tool would be wmic
wmic diskdrive get model, name, status
2016-03-30 - 5.43 ∞
Spoiler
smartctl 5.43 2012-06-30 r3573 [i686-linux-3.10.17-smp] (local build) Copyright (C) 2002-12 by Bruce Allen, https://www.smartmontools.org/ ... smartmontools release 5.43 dated 2012-06-30 at 14:03:01 UTC smartmontools SVN rev 3573 dated 2012-06-30 at 14:03:55 smartmontools build host: i486-slackware-linux-gnu smartmontools build configured: 2012-08-15 02:53:54 UTC smartctl compile dated Aug 14 2012 at 21:54:07 smartmontools configure arguments: '--prefix=/usr' '--libdir=/usr/lib' '--mandir=/usr/man' '--sysconfdir=/etc' '--docdir=/usr/doc/smartmontools-5.43' '--build=i486-slackware-linux' 'build_alias=i486-slackware-linux' 'PKG_CONFIG_PATH=/usr/local/lib/pkgconfig:/usr/lib/pkgconfig'
I installed this from the official Slackware repository.
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) Copyright (C) 2002-13, Bruce Allen, Christian Franke, www.smartmontools.org ... 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'
2009-03-31 - (version not recorded) ∞
Installation:
apt-get install smartmontools
Usage:
su smartctl --test=short /dev/sdb
Wait a minute
smartctl --health /dev/sdb smartctl --capabilities /dev/sdb | grep "Self-test execution status"
If it's 0
, you're good.
An extended test:
smartctl --test=long /dev/sdb
Last updated 2022-07-08 at 20:51:10
ported an older note and pushed the date back