Page tree

Welcome to FreeSoftwareServers Confluence Wiki

Skip to end of metadata
Go to start of metadata

SMART is a set of tools some Hard Drives come with to monitor there health. I got a new HD off Ebay and was having issues and SMART helped me save myself some headache by confirming it was a bad drive.

Install via:

sudo apt-get install smartmontools

In my case all i need to do was see the output of:

smartctl -Hc /dev/sdb
smartcl -a -d sat /dev/sdb

said Failed, end of story!

https://en.wikipedia.org/wiki/S.M.A.R.T.#Known_ATA_S.M.A.R.T._attributes

Note: Some values like x190 the value is the raw number -100. So a "Raw Number" of 30 is a "Value" of 70. 

https://serverfault.com/questions/479473/s-m-a-r-t-smart-attribute-190-failing-on-seagate-backup-plus-4tb-drive

More Syntax:

--check if drive has SMART capabilites

sudo smartctl -i /dev/sdb1 

--if supported but disabled

sudo smartctl -s on /dev/sdX

--to find estimated times to run tests

sudo smartctl -c /dev/sdb1 

--to run the long test, the best of course

sudo smartctl -t long /dev/sdX 


--review

sudo smartctl -l selftest /dev/sda  


--For detailed info on IDE drive

sudo smartctl -a /dev/sda 


--For Sata

sudo smartctl -a -d ata /dev/sda 


To check mounted disks /dev/XXX use:

sudo blkid 
  • No labels

1 Comment