topbanner_forum
  *

avatar image

Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
  • Friday March 29, 2024, 2:31 am
  • Proudly celebrating 15+ years online.
  • Donate now to become a lifetime supporting member of the site and get a non-expiring license key for all of our programs.
  • donate

Author Topic: fixing hard drive errors with WD Diags  (Read 10207 times)

techidave

  • Supporting Member
  • Joined in 2007
  • **
  • Posts: 1,044
    • View Profile
    • Donate to Member
fixing hard drive errors with WD Diags
« on: February 25, 2008, 04:14 PM »
I have a question about Western Digital Diagnostics testing procedure.  If I run the extended test, it first runs the quick test.  It found a read error of -23 (or maybe a -3) but i don't remember for sure.  It then asked if I wanted to go ahead with the extended test and I said yes.  At the end it said it had fixed the problem but didn't ask me if I wanted to fix the problem it just went ahead and did it.

Should I trust that it did fix it?? :tellme:  This  was a WD300BB drive made back in 2001.  I went and rested the drive and it didn't find any errors.

I am not sure about putting this  back in the classroom and then having to redo it again a month for now.   :-\

This is the first time I have had the diags fix a problem so I am a little hesitant if it will run for a long time or not.

Dave

mwb1100

  • Supporting Member
  • Joined in 2006
  • **
  • Posts: 1,645
    • View Profile
    • Donate to Member
Re: fixing hard drive errors with WD Diags
« Reply #1 on: February 25, 2008, 06:01 PM »
Chances are that the diagnostic simply 'mapped' the bad sector to a spare sector that has been set aside for that purpose.

If you're not confident in the stability of the drive you could try running an alternate diagnostic that does a surface scan or maybe just replace the drive (it's getting long in the tooth anyway) - you can get a drive that's considerably larger than 30GB for as little as $50.

It all depends on whether you want to spend time or money to get your confidence in the drive back (or just take wddiag's word for it).

tinjaw

  • Supporting Member
  • Joined in 2006
  • **
  • Posts: 1,927
    • View Profile
    • Donate to Member
Re: fixing hard drive errors with WD Diags
« Reply #2 on: February 25, 2008, 06:05 PM »
Having run the WD diagnostic tools for about 30 hours these past three or four days (I kid you not) I can confirm that it indeed did just map bad sectors to spare sectors. You should be just fine.

techidave

  • Supporting Member
  • Joined in 2007
  • **
  • Posts: 1,044
    • View Profile
    • Donate to Member
Re: fixing hard drive errors with WD Diags
« Reply #3 on: February 25, 2008, 06:16 PM »
I think I will let it go back to the classroom as it and see what happens.  I could run Spinrite on it but it takes so long to complete.  I could wait and run it over the weekend to see how it does.

Dave

f0dder

  • Charter Honorary Member
  • Joined in 2005
  • ***
  • Posts: 9,153
  • [Well, THAT escalated quickly!]
    • View Profile
    • f0dder's place
    • Read more about this member.
    • Donate to Member
Re: fixing hard drive errors with WD Diags
« Reply #4 on: February 25, 2008, 07:29 PM »
Friends don't let friends get fooled by the spinrite snake oil...

All drives manufactured the last many years have had a pool of spare sectors that bad sectors can be remapped to. The catch, however, is that this is only done on write to the sector, not read... so traditional systems like NTFS will detect the bad sector and map it as bad in the filesystem metadata structures, and won't try to read the sector again.

Then comes half-educated power-user that's been charmed by the GibsonGibberishTM about magic bitpatterns and magnetic surface scrubbing, and is amaaaaazed when Spinrite magically repairs the disk omfg!. And what does spinrite do? It tries to read and re-write the sector a lot of times. This will usually result in the drive reallocating the sector (check your drive's Rellocated Sector Count S.MA.R.T property), and "fix" the problem... but ask your self what kind of stress continually trying to access a bad sector puts on the drive.

I wouldn't use spinrite on a dying drive before I had made an image of all the readable sectors, simply because the drive might very well die in the process of spinriteing it. And I hate how the guy is getting away with pushing his snake oil simply because he's paid convinced a number of prominent names to praise it. And he makes it sound like it's hard to program in assembly, heh.
- carpe noctem

techidave

  • Supporting Member
  • Joined in 2007
  • **
  • Posts: 1,044
    • View Profile
    • Donate to Member
Re: fixing hard drive errors with WD Diags
« Reply #5 on: February 25, 2008, 08:07 PM »
Whoa!  Sounds like I touched a nerve with fodder about Spinrite. :o  But lets not get into badmouthing others, ok.  The good thing about this particular hard drive is it's a classroom computer used by students, I can just re-ghost it and it will be up and running in short order.

f0dder

  • Charter Honorary Member
  • Joined in 2005
  • ***
  • Posts: 9,153
  • [Well, THAT escalated quickly!]
    • View Profile
    • f0dder's place
    • Read more about this member.
    • Donate to Member
Re: fixing hard drive errors with WD Diags
« Reply #6 on: February 25, 2008, 08:20 PM »
Whoa!  Sounds like I touched a nerve with fodder about Spinrite. :o  But lets not get into badmouthing others, ok.
Yes, you struck a nerve - I have a real big dislike for false prophets, and I don't want anybody to face a complete drive trashing due to spinrite stress...
- carpe noctem

techidave

  • Supporting Member
  • Joined in 2007
  • **
  • Posts: 1,044
    • View Profile
    • Donate to Member
Re: fixing hard drive errors with WD Diags
« Reply #7 on: February 25, 2008, 08:38 PM »
Ok so this brings another question.  How does what Spinrite does differ than what WD Diags or anyone's elses do??  Hope you can understand that last question.  <grin>


f0dder

  • Charter Honorary Member
  • Joined in 2005
  • ***
  • Posts: 9,153
  • [Well, THAT escalated quickly!]
    • View Profile
    • f0dder's place
    • Read more about this member.
    • Donate to Member
Re: fixing hard drive errors with WD Diags
« Reply #8 on: February 25, 2008, 08:46 PM »
Ok so this brings another question.  How does what Spinrite does differ than what WD Diags or anyone's elses do??  Hope you can understand that last question.  <grin>
This is a very good question, and one I can't answer - simply because Gibson doesn't provide any hard facts, only mumbo-jumbo about magical bit patterns and whatnot. Oh, and spinrite has pretty text-mode graphics including animated sine curves... it does give you an impression it's doing something really profound, doesn't it? Personally I prefer hard facts, rather than tv-shop style circle-jerk praise emails ;)

But I'll leave the topic, the people who have had data "saved by spinrite" will obviously claim that it does something magical that other tools can't. Like, setting retrycount=infinity ;)
- carpe noctem

techidave

  • Supporting Member
  • Joined in 2007
  • **
  • Posts: 1,044
    • View Profile
    • Donate to Member
Re: fixing hard drive errors with WD Diags
« Reply #9 on: February 25, 2008, 09:39 PM »
maybe that is why he has never gotten around to writing a new manual??  Personally, I never understood his mumbo jumbo and actually haven't used the program for a year or two since I could never really verify it did much. 

Looks like trying the mfg's software may be the best way to go when a drive is going bad.  Since we are a small public school in the USA, money is always tight. 

During the summer when I usually run MemTest and reghost each student machine, I may have to add the mfg's diagnostic test to this project.  Maybe it will save some headaches as the new school year progress.

f0dder

  • Charter Honorary Member
  • Joined in 2005
  • ***
  • Posts: 9,153
  • [Well, THAT escalated quickly!]
    • View Profile
    • f0dder's place
    • Read more about this member.
    • Donate to Member
Re: fixing hard drive errors with WD Diags
« Reply #10 on: February 26, 2008, 05:08 AM »
maybe that is why he has never gotten around to writing a new manual??  Personally, I never understood his mumbo jumbo and actually haven't used the program for a year or two since I could never really verify it did much.
Well, to be honest I can't rule out that it does something more than just re-allocating bad sectors. I think his claim is that he "scrubs the sectors with magic bit-patterns to re-magnetize the surface" or something, but I fail to see how that would work - especially since a write to a bad sector triggers reallocation (but OK, perhaps it's possible to turn that feature off temporarily).

Afaik SpinRite hasn't been updated since 6.0 was released (some time during 2004?), but appearantly it's an effective cash cow. Probably helps a lot with all those positive reviews the "reputable sources" give, it's a self-enhancing mass delusion :)

Looks like trying the mfg's software may be the best way to go when a drive is going bad.  Since we are a small public school in the USA, money is always tight.
That's what I would do. And as soon as a drive starts getting re-allocated sectors, I rescue all data and consider the drive as dead; I might use it for transferring non-critical data or as a scratchpad, but not for anything important. I've had drives work like that for years... and I've had them fail a few weeks the first re-allocated sector. Thinking that you have repaired a drive with spinrite (or anything else) is outright dangerous.

During the summer when I usually run MemTest and reghost each student machine, I may have to add the mfg's diagnostic test to this project.  Maybe it will save some headaches as the new school year progress.
It would probably be a good idea to find a S.M.A.R.T diagnostics tool that can send email reports, and have it trigger on a non-zero reallocated sector count. That'll let you visit potential troublesome machines before things get really bad. If you have routine checks with memtest etc, it's probably not a bad idea adding a disk-vendor-tool full check, just keep in mind that the check itself does put some stress on the system.
- carpe noctem

techidave

  • Supporting Member
  • Joined in 2007
  • **
  • Posts: 1,044
    • View Profile
    • Donate to Member
Re: fixing hard drive errors with WD Diags
« Reply #11 on: February 26, 2008, 06:03 AM »
Can you recommend a good S.M.A.R.T diagnostics tool that is inexpensive or free.  I believe this would be a good thing to have since my 250 machines are spread out over 3 buildings in 3 different towns and are 7-12 miles apart from the town in the center.   :(

f0dder

  • Charter Honorary Member
  • Joined in 2005
  • ***
  • Posts: 9,153
  • [Well, THAT escalated quickly!]
    • View Profile
    • f0dder's place
    • Read more about this member.
    • Donate to Member
Re: fixing hard drive errors with WD Diags
« Reply #12 on: February 26, 2008, 06:23 AM »
Alas, no!

But there's a lot of SMART tools around, and a lot of them are free... so hopefully it's possible to find something that can send email reports. If not, it miiiight be possible to find some open-source code and then it'd be relatively easy to add some report/mailing stuff I reckon. Major problem is that SMART info is somewhat weird and can be interpreted in various ways... I think that the re-allocated sector count is relatively sane and interpretable compared to some of the other counts, though :)
- carpe noctem