{"id":358,"date":"2009-02-26T08:26:58","date_gmt":"2009-02-26T08:26:58","guid":{"rendered":"http:\/\/www.buildcube.com\/tech_blog\/?p=358"},"modified":"2025-04-03T03:01:04","modified_gmt":"2025-04-03T03:01:04","slug":"s-m-a-r-t-smart-data-of-hard-drives-under-linux","status":"publish","type":"post","link":"https:\/\/www.voodoo.business\/blog\/2009\/02\/26\/s-m-a-r-t-smart-data-of-hard-drives-under-linux\/","title":{"rendered":"S.M.A.R.T (SMART) data of hard drives under linux"},"content":{"rendered":"\n<p>The results of the commands on this post are <a title=\"SMART data for a hard drive under linux\" href=\"http:\/\/www.easywebdns.com\/tutorials\/Linux\/Hard_Disk_SMART_DATA#Hard_disk_SMART_data_under_linux\">Here<\/a><\/p>\n\n\n\n<p>On windows, You can use speedfan, under linux you can read the smart data as follows<\/p>\n\n\n\n<p>Use the smartctl command, but first you must install the package<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">apt-get install smartmontools<\/pre>\n\n\n\n<p>1- Checking for smart support, (All recent hard drives have it but you need to enable it in BIOS)<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\"><code>smartctl -i \/dev\/sdb<\/code><\/pre>\n\n\n\n<p>2- Enable reading it<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\"><code>smartctl -s on -d ata \/dev\/sdb<\/code><\/pre>\n\n\n\n<p>See it<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\"><code>smartctl -d ata -H \/dev\/sdb<\/code><\/pre>\n\n\n\n<p>Read more<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\"><code>smartctl -d ata -a \/dev\/sdb<\/code><\/pre>\n\n\n\n<p>Now some manufacturer specific smart atributes exist, you need to google them out, Also smart is not definitive, if S.M.A.R.T data says ok but there is a ticking noise in your hard drive, Don&#8217;t trust the hardware data, get backup.<\/p>\n\n\n\n<p>Some hard drives like the Samsung Spinpoint come with extensive diagnostics software, My 3 2.5&#8242; disks pass the test, pass the smart test, and tick when warm, i will let you know if it was the tick of death sometime soon<\/p>\n\n\n\n<p>To run a self test&#8230; (captive mode, disk dedicated to test), -C makes it run in captive mode<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">smartctl -t &lt;short|long|conveyance|select&gt; -C \/dev\/sdb<\/pre>\n\n\n\n<p>And in offline mode (Background, does not block drive)<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">smartctl -t &lt;short|long|conveyance|select> \/dev\/sdb<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>The results of the commands on this post are Here On windows, You can use speedfan, under linux you can read the smart data as follows Use the smartctl command, but first you must install the package apt-get install smartmontools 1- Checking for smart support, (All recent hard drives have it but you need to [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[29,9],"tags":[],"class_list":["post-358","post","type-post","status-publish","format-standard","hentry","category-hard-disks","category-pc-hardware"],"_links":{"self":[{"href":"https:\/\/www.voodoo.business\/blog\/wp-json\/wp\/v2\/posts\/358","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.voodoo.business\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.voodoo.business\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.voodoo.business\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.voodoo.business\/blog\/wp-json\/wp\/v2\/comments?post=358"}],"version-history":[{"count":5,"href":"https:\/\/www.voodoo.business\/blog\/wp-json\/wp\/v2\/posts\/358\/revisions"}],"predecessor-version":[{"id":5196,"href":"https:\/\/www.voodoo.business\/blog\/wp-json\/wp\/v2\/posts\/358\/revisions\/5196"}],"wp:attachment":[{"href":"https:\/\/www.voodoo.business\/blog\/wp-json\/wp\/v2\/media?parent=358"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.voodoo.business\/blog\/wp-json\/wp\/v2\/categories?post=358"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.voodoo.business\/blog\/wp-json\/wp\/v2\/tags?post=358"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}