smartmontools Home Page

This is the home page for smartmontools.  The smartmontools package contains two utility programs (smartctl and smartd) to control and monitor storage systems using the Self-Monitoring, Analysis and Reporting Technology System (S.M.A.R.T.) built into most modern ATA and SCSI hard disks.  It is derived from the smartsuite package, and includes support for ATA/ATAPI-5 disks.  It should run on any modern Linux system.

For printing convenience, everything except for the example output is on a single page.



How to download and install smartmontools

There are three different ways to get and install smartmontools.  You can use any one of these three procedures.  Just after "Method 3" below are some instructions for trying out smartmontools once you have completed the installation.

First Method - Install from the RPM file Second Method - Install from the source tarball Third Method - Install from the CVS repository After installing using Method 1, 2 or 3 above, you can read the man pages, and try out the commands:
man 8 smartctl
man 8 smartd
/usr/sbin/smartctl -etf /dev/hda (only root can do this)
/usr/sbin/smartctl -a /dev/hda (only root can do this)

Note that the default location for the manual pages are in /usr/share/man/man8.  If "man" does not find the manual pages, then you may need to add /usr/share/man to your MANPATH environment variable.


Serious Problem Reports

If a serious problem gets reported to us, it gets added to the WARNINGS file in smartmontools. So far the only problem report is about a SCSI RAID controller.

Frequently Asked Questions

If your question is not here, please email me.


Help needed in testing smartmontools, especially on SCSI, FireWire, USB, and SATA disks/systems

I have access to a number of systems with ATA S.M.A.R.T. disks, but I don't have any access to systems with SCSI, FireWire, USB, and SATA S.M.A.R.T. devices.  I'd be very grateful to find someone who could help me test the smartmontools code on them.  Since it's derived from the smartsuite package, it should initially work about the same way with SCSI devices as the smartsuite tools did.

I'd be especially happy if someone would like to take on the task, as a developer, of maintaining the SCSI code.  Do you have a beowulf cluster with a few hundred SCSI disks?  Please volunteer !


How does smartmontools differ from smartsuite?

The smartsuite code was originally developed as a Senior Thesis by Michael Cornwell at the Concurrent Systems Laboratory (now part of the Storage Systems Research Center), Jack Baskin School of Engineering, University of California, Santa Cruz. You can find some information about the original smartsuite project here: Press Release 1, Press Release 2, Press Release 3.

Smartmontools was derived directly from smartsuite.  It differs from smartsuite in that it supports the ATA/ATAPI-5 standard.  So for example smartctl from smartsuite has no facility for printing the S.M.A.R.T. self-test logs, and doesn't print timestamp information in the most usable way.  The smartctl utility in smartmontools has added functionality for this (-q,-Q, -L,-f, -F, -U, -P and -m options), updated documentation, and also fixes small technical bugs in smartsuite.  See the CHANGELOG file in CVS for a summary of what's been done.  The smartd utility differs from the smartsuite smartd in major ways.  First, it prints somewhat more informative error messages to the syslog.   Second, on startup it looks for a configuration file /etc/smartd.conf, and if smartd finds this file, it monitors the list of devices therein, rather than querying all IDE and SCSI devices on your system.  (If the configuration file does not exist, then it does query all IDE and SCSI devices.)  Also, it's a well-behaved daemon and doesn't leave open file descriptors and other detrius behind.  In addition, the smartmontools version of smartd can be instructed (via Directives in the configuration file) to monitor for changes in a number of different disk properties: the SMART status, failure or prefailure attributes going below threshold, new errors appearing in the ATA Error Log or the SMART Self-Test Log, and so on.

The other principle difference is that smartmontools is an OpenSource development project, meaning that we keep the files in CVS, and that other developers who wish to contribute can commit changes to the archive.  If you would like to contribute, please write to to smartmontools-support.

But the bottom line is that the code in smartmontools is derived directly from smartsuite and is similar.  The smartsuite package can be found here.


Useful references on S.M.A.R.T. and the ATA/ATAPI standards

If you are having trouble understanding the output of smartctl or smartd, please first read the manual pages:

man 8 smartctl
man 8 smartd

If you'd like to know more about S.M.A.R.T., then the following references may be helpful:


Example output from smartmontools smartctl utility:
Maintained by Bruce Allen
Hosted by
SourceForge.net

Valid XHTML 1.0!