Monitoring drive health using S.M.A.R.T


S.M.A.R.T – Self-Monitoring, Analysis and Reporting Technology can be used to monitor and report on the health of storage devices attached to JBOD drive controller. Each storage device maintains SMART counters that can provide detailed information on the status of each storage device. To monitor the health of storage devices attached to RAID controllers requires the use of WebCLI, StorCLI or MegaCLI (See monitoring storage devices attached to RAID controllers). To enable the monitoring daemon on a Red Hat Enterprise Linux use:

# chkconfig smartd on    
# service smartd start

The smartctl program allows SMART data to be viewed allowing the health of drives to be validated:

# smartctl -H /dev/sda    
smartctl version 5.38 [x86_64-redhat-linux-gnu] Copyright (C) 2002-8 Bruce Allen
Home page is http://smartmontools.sourceforge.net/    
=== START OF READ SMART DATA SECTION ===    
SMART overall-health self-assessment test result: PASSED

Detailed drive information can be gathered such as the type of drive, serial number, etc… using the -i option. The -a option provides drive temperature, hours powered on, and tests conducted with results.

# smartctl -i /dev/sda    
smartctl version 5.38 [x86_64-redhat-linux-gnu] Copyright (C) 2002-8 Bruce Allen    
Home page is http://smartmontools.sourceforge.net/    
=== START OF INFORMATION SECTION ===    
Model Family:     Seagate Barracuda 7200.10 family    
Device Model:     ST3320620AS    
Serial Number:    9QF26NGD    
Firmware Version: 3.AAJ    
User Capacity:    320,072,933,376 bytes
Device is:        In smartctl database [for details use: -P show]   
ATA Version is:   7    
ATA Standard is:  Exact ATA specification draft version not indicated    
Local Time is:    Sun Mar  7 14:20:18 2010 MST    
SMART support is: Available - device has SMART capability.    
SMART support is: Enabled