According to wikipedia, S.M.A.R.T. stand for Self-Monitoring, Analysis and Reporting Technology, which is a monitoring system included in computer hard disk drives (HDDs) and solid-state drives (SSDs) that detects and reports on various indicators of drive reliability, with the intent of enabling the anticipation of hardware failures.
We will see how to read the SMART attributes thanks to smartctl tool on GNU/Linux systems.
root@host:~# apt-get install smartmontools
root@host:~# smartctl -i /dev/<device>
root@host:~# smartctl -s on /dev/<device>
root@host:~# smartctl -a /dev/<device>
root@host:~# smartctl -a /dev/<device> | grep -Ei "Reallocated|Spin.*Retry|SATA*Downshift|End-to-End|Reported.*Uncorrectable|Timeout|Reallocation|Current.*Pending|Uncorrect|TA.*Counter|Drive.*Life.*Protection"
root@host:~# smartctl -a -d megaraid,8 /dev/sda
root@host:~# smartctl -a -d cciss,0 /dev/sda
Here we will see how to perform SMART self tests on disk.
root@host:~# smartctl -t short /dev/<device>
root@host:~# smartctl -t long /dev/<device>
root@host:~# smartctl -t conveyance /dev/<device>
root@host:~# smartctl -l selftest /dev/<device>
root@host:~# smartctl -H /dev/<device>
root@host:~# smartctl -l selftest /dev/<device>
root@host:~# smartctl -l error /dev/<device>
Contact :