{"id":47,"date":"2004-08-22T13:05:42","date_gmt":"2004-08-22T10:05:42","guid":{"rendered":"http:\/\/void.gr\/kargig\/blog\/?p=47"},"modified":"2004-08-22T13:05:42","modified_gmt":"2004-08-22T10:05:42","slug":"fixing-a-hard-disk-with-errors","status":"publish","type":"post","link":"https:\/\/www.void.gr\/kargig\/blog\/2004\/08\/22\/fixing-a-hard-disk-with-errors\/","title":{"rendered":"Fixing (?) a hard disk with errors"},"content":{"rendered":"<p>A couple of days ago I found out that one of my <a href=\"http:\/\/www.wdc.com\/en\/products\/Products.asp?DriveID=38\">200GB JB Western Digital<\/a> drives had some errors. While trying to access certain paths under linux (with reiserfs) I always got a kernel panic in the same directories\/files. The disk is still under warranty since it was bought on march 2003 (WD has 3 years warranty for it&#8217;s JB model disks) but I wondered if I could do anything by myself to fix it.<br \/>\nLooking inside WD&#8217;s website I&#8217;ve found out a very usefull tool called <a href=\"http:\/\/support.wdc.com\/download\/#diagutils\">DLG Diagnostic<\/a> that you can use to check on the disk. So, that was the first step&#8230;to check if the disk did have errors.<br \/>\nI downloaded the ALWAYS usefull <a href=\"http:\/\/www.ultimatebootcd.com\/\">Ultimate Boot CD<\/a> which includes the utility of WD inside and MANY MANY others. I booted with the cd..fired up the utility and started checking. The quick test told me the disk had errors and if I wanted to repair them. Sure I did&#8230;so I let it finish the quick test. It took about 9 minutes. In the main menu of the program there is an option called extended test&#8230;so I fired up that one too. While spinning the disk and going from sector to sector it hang a while at sector 151&#8230;hmmmm.<br \/>\nIt kept going for about an hour and when finished it told me that the disk had errors. &#8220;Press R to correct them&#8221; ->> RRRRRRRRRRRRRRR<br \/>\nIt told me it had 10 errors. But I wasn&#8217;t so sure it had fixed them so I ran the extended test again. 5 errors. And again&#8230;3 erros&#8230;And again 1 error. And again&#8230;. 0 errors. YEAH!<br \/>\nAfter the Extended test option there is a &#8220;low-level format&#8221; option that fills drive with 0s. I had already backed up my data so I fired up that option. 13 Hours to finish&#8230;wow.<br \/>\nResults after it finished  ? No errors whatsoever&#8230;no test hanging at sector 151 and the drive is perfectly clean. At least that&#8217;s what I think&#8230;I will test today and report later. Since this disk was part of a raid array and that array is now corrupt I am planning to fiddle around with <a href=\"http:\/\/tldp.org\/HOWTO\/LVM-HOWTO\/\">LVM<\/a>.<\/p>\n<p>I also feel really jealous of my friend <a href=\"http:\/\/ntrg.cs.tcd.ie\/~argp\/blog.html\">patroklos<\/a> because he is flying today  to Tokyo, Japan to present a paper of his. Damn I want to go to Japan too. snif.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>A couple of days ago I found out that one of my 200GB JB Western Digital drives had some errors. While trying to access certain paths under linux (with reiserfs) I always got a kernel panic in the same directories\/files. The disk is still under warranty since it was bought on march 2003 (WD has [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"ep_exclude_from_search":false,"footnotes":""},"categories":[1],"tags":[],"class_list":["post-47","post","type-post","status-publish","format-standard","hentry","category-general"],"aioseo_notices":[],"views":3620,"_links":{"self":[{"href":"https:\/\/www.void.gr\/kargig\/blog\/wp-json\/wp\/v2\/posts\/47","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.void.gr\/kargig\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.void.gr\/kargig\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.void.gr\/kargig\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.void.gr\/kargig\/blog\/wp-json\/wp\/v2\/comments?post=47"}],"version-history":[{"count":0,"href":"https:\/\/www.void.gr\/kargig\/blog\/wp-json\/wp\/v2\/posts\/47\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.void.gr\/kargig\/blog\/wp-json\/wp\/v2\/media?parent=47"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.void.gr\/kargig\/blog\/wp-json\/wp\/v2\/categories?post=47"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.void.gr\/kargig\/blog\/wp-json\/wp\/v2\/tags?post=47"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}