/usr/sbin/smartctl – controls the Self-Monitoring, Analysis and Reporting Technology (SMART) system built into many ATA-3 and later ATA, IDE and SCSI-3 hard drives. The purpose of SMART is to monitor the reliability of the hard drive, give detailed information and and predict drive failures, and to carry out different types of drive self-tests. With “-a” option it prints all the SMART information on the disk.
[root@un1xf00 root]# smartctl -a /dev/sda
smartctl version 5.1-11 Copyright (C) 2002-3 Bruce Allen
Home page is http://smartmontools.sourceforge.net/
Device: SEAGATE ST343427UC Version: D713
Serial number: MK63N0OQ
Device type: disk
Device supports SMART and is Enabled
Temperature Warning Enabled
SMART Sense: Ok!
Current Drive Temperature: 31 C
Drive Trip Temperature: 68 C
Error counter log:
Errors Corrected Total Total Correction Gigabytes Total
delay: [rereads/ errors algorithm processed uncorrected
minor | major rewrites] corrected invocations [10^9 bytes] errors
read: 7040161 0 0 7040161 7040161 669.647 0
write: 0 0 0 0 0 1939.281 1
verify: 0 0 0 0 0 0.000 0
Non-medium error count: 8
SMART Self-test log
Num Test Status segment LifeTime LBA_first_err [SK ASC ASQ]
Description number (hours)
# 1 Background long Completed – 2 – [- – -]
# 2 Background long Completed – 0 – [- – -]
# 3 Background short Completed – 0 – [- – -]
Long (extended) Self Test duration: 1405 seconds [23.4 minutes]
[root@un1xf00 root]# smartctl -H /dev/sda
smartctl version 5.1-11 Copyright (C) 2002-3 Bruce Allen
Home page is http://smartmontools.sourceforge.net/
SMART Sense: Ok!
Current Drive Temperature: 31 C
Drive Trip Temperature: 68 C
[root@un1xf00 root]#