SUSE Support

Here When You Need Us

Using smartmontools to detect impending hard disk failure

This document (7004508) is provided subject to the disclaimer at the end of this document.

Environment

SUSE Linux Enterprise Server 11
SUSE Linux Enterprise Server 10
SUSE Linux Enterprise Desktop 11
SUSE Linux Enterprise Desktop 10
SUSE Linux Enterprise Server 9
 

Situation

Self-Monitoring, Analysis and Reporting Technology System (SMART)

The smartd daemon has reported drive errors in /var/log/messages.
You notice errors after running the smartctl --all command on one or more disk devices.

Error counter log:
           Errors Corrected by           Total   Correction     Gigabytes    Total
               ECC          rereads/    errors   algorithm      processed    uncorrected
           fast | delayed   rewrites  corrected  invocations   [10^9 bytes]  errors
read:     132089        0         0    132089     132089        850.315           0
write:         0        0         0         0          0        415.707           0

Non-medium error count:    90680


After running supportconfig -o SMART you see disk errors in the fs-smartmon.txt file.

Resolution

If no errors are detected, then there is nothing to do. If you see read, write or non-medium errors, you might consider swapping out the hard disk after backing up all data.
 

Additional Information

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 (SMART) built into most modern ATA and SCSI hard disks. In many cases, these utilities will provide advanced warning of disk degradation and failure. For additional details refer to http://smartmontools.sourceforge.net/.

WARNING: To prevent system hangs from buggy devices, smartd is turned off by default or smartmontools is not installed at all. Please test smartd manually first before turning it on via the Runlevel Editor or by /sbin/chkconfig -add smartd.

Disclaimer

This Support Knowledgebase provides a valuable tool for SUSE customers and parties interested in our products and solutions to acquire information, ideas and learn from one another. Materials are provided for informational, personal or non-commercial use within your organization and are presented "AS IS" WITHOUT WARRANTY OF ANY KIND.

  • Document ID:7004508
  • Creation Date: 23-Sep-2009
  • Modified Date:06-Mar-2021
    • SUSE Linux Enterprise Desktop
    • SUSE Linux Enterprise Server

< Back to Support Search

For questions or concerns with the SUSE Knowledgebase please contact: tidfeedback[at]suse.com

tick icon

SUSE Support Forums

Get your questions answered by experienced Sys Ops or interact with other SUSE community experts.

tick icon

Support Resources

Learn how to get the most from the technical support you receive with your SUSE Subscription, Premium Support, Academic Program, or Partner Program.

tick icon

Open an Incident

Open an incident with SUSE Technical Support, manage your subscriptions, download patches, or manage user access.