{"id":62,"date":"2005-05-05T02:04:12","date_gmt":"2005-05-05T02:04:12","guid":{"rendered":"\/?p=62"},"modified":"2015-07-21T11:17:40","modified_gmt":"2015-07-21T10:17:40","slug":"more-hard-disk-news","status":"publish","type":"post","link":"https:\/\/blog.adamsweet.org\/?p=62","title":{"rendered":"More Hard Disk News"},"content":{"rendered":"<p>Like anyone apart from me cares&#8230;<\/p>\n<p>=== START OF READ SMART DATA SECTION ===<br \/>\nSMART Self-test log structure revision number 1<br \/>\nNum  Test_Description    Status                  Remaining  LifeTime(hours)  LBA_of_first_error<br \/>\n# 1  Extended offline    Completed: read failure       40%      1594         6323152<br \/>\n# 2  Extended offline    Completed: read failure       40%      1594         6323152<br \/>\n# 3  Extended offline    Completed: read failure       40%      1594         &#8211;<br \/>\n# 4  Short offline           Completed: read failure       60%      1594         6323152<\/p>\n<p>Ulp.<\/p>\n<p>After advising someone about this the other day, it took a recommendation from <a href=\"http:\/\/david.codepoets.co.uk\/\">Dave Goodwin<\/a> to point out that I should look at <a href=\"http:\/\/smartmontools.sourceforge.net\/\">smartmontools<\/a>. They essentially ask the disk itself to report it&#8217;s S.M.A.R.T. status and also run some checks. Most of the point of this post is to remind myself in future what I did and what to read.<\/p>\n<p>With the help of <a href=\"http:\/\/www.linuxjournal.com\/article\/6983\">this<\/a> and <a href=\"http:\/\/members.dca.net\/mhoffman\/presentations\/20050302-plug\/plain\/foil13.html\">this<\/a> and the surrounding pages.<\/p>\n<p>A quick self test failed as you can see above<\/p>\n<p># smartctl -t short \/dev\/hda<\/p>\n<p>So I ran a few long test, which also failed as can be seen above.<\/p>\n<p># smartctl -t long \/dev\/hda<\/p>\n<p>I ran several commands which told me:<\/p>\n<p># smartctl -H \/dev\/hda<\/p>\n<p>=== START OF READ SMART DATA SECTION ===<br \/>\nSMART overall-health self-assessment test result: PASSED<\/p>\n<p># smartctl -Hc \/dev\/hda<\/p>\n<p>Self-test execution status:      ( 116) The previous self-test completed having<br \/>\n                                                                the read element of the test failed.<\/p>\n<p># smartctl -A \/dev\/hda<\/p>\n<p>told me that 7 drive attributes were in the pre-fail stage but haven&#8217;t failed yet.<\/p>\n<p># smartctl -a<\/p>\n<p>informed me that it encountered 459 errors before the test failed and<\/p>\n<p><snip><br \/>\nError 459 occurred at disk power-on lifetime: 1583 hours (65 days + 23 hours)<br \/>\n  When the command that caused the error occurred, the device was in an unknown state.<\/p>\n<p>  After command completion occurred, registers were:<br \/>\n  ER ST SC SN CL CH DH<br \/>\n  &#8212; &#8212; &#8212; &#8212; &#8212; &#8212; &#8212;<br \/>\n  40 51 01 d0 7b 60 e0  Error: UNC 1 sectors at LBA = 0x00607bd0 = 6323152<\/p>\n<p>  Commands leading to the command that caused the error were:<br \/>\n  CR FR SC SN CL CH DH DC   Powered_Up_Time  Command\/Feature_Name<br \/>\n  &#8212; &#8212; &#8212; &#8212; &#8212; &#8212; &#8212; &#8212;  &#8212;&#8212;&#8212;&#8212;&#8212;-  &#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;<br \/>\n  25 00 01 d0 7b 60 e0 08      00:16:05.184  READ DMA EXT<br \/>\n  25 00 02 cf 7b 60 e0 08      00:16:04.000  READ DMA EXT<br \/>\n  25 00 08 cf 8e 60 e0 08      00:16:04.000  READ DMA EXT<br \/>\n  25 00 08 37 0a 60 e0 08      00:16:04.000  READ DMA EXT<br \/>\n  25 00 08 07 1a 60 e0 08      00:16:03.984  READ DMA EXT<br \/>\n<\/snip><\/p>\n<p>Interesting is that the output from the top thinks I have approximately 1594 hours disk lifetime left. Thats about 66 days! Yeah I know it&#8217;s not exact, but it knows better than I do.<\/p>\n<p>Either way, if the drive fails the test on a read failure then it&#8217;s starting to die. The Linux Journal article recommends moving all data off the disk, which I did a few days ago and also looking for a vendor tool that will either remap the bad sectors or give me an error code to use when requesting a replacement from the manufacturer. I think I&#8217;ll do this and also try it on my other drive that died (both Maxtor), then see how long the warranty is for. If it&#8217;s a year, then I should get a replacement drive. I might try the supplier for a replacement first though.<\/p>\n<p>I&#8217;m glad I&#8217;m using Linux. I check my logs reasonably often just to see if things are ok, under Windows I&#8217;ve had disks die in the past and knew nothing of it until the machine started to fail to boot.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Like anyone apart from me cares&#8230; === START OF READ SMART DATA SECTION === SMART Self-test log structure revision number 1 Num Test_Description Status Remaining LifeTime(hours) LBA_of_first_error # 1 Extended offline Completed: read failure 40% 1594 6323152 # 2 Extended &hellip; <a href=\"https:\/\/blog.adamsweet.org\/?p=62\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-62","post","type-post","status-publish","format-standard","hentry","category-general"],"_links":{"self":[{"href":"https:\/\/blog.adamsweet.org\/index.php?rest_route=\/wp\/v2\/posts\/62","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blog.adamsweet.org\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.adamsweet.org\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.adamsweet.org\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.adamsweet.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=62"}],"version-history":[{"count":1,"href":"https:\/\/blog.adamsweet.org\/index.php?rest_route=\/wp\/v2\/posts\/62\/revisions"}],"predecessor-version":[{"id":689,"href":"https:\/\/blog.adamsweet.org\/index.php?rest_route=\/wp\/v2\/posts\/62\/revisions\/689"}],"wp:attachment":[{"href":"https:\/\/blog.adamsweet.org\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=62"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.adamsweet.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=62"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.adamsweet.org\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=62"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}