Re: hard disk problem

From: Lowell Gilbert (freebsd-questions-local_at_be-well.ilk.org)
Date: 10/28/03

  • Next message: Richard Shea: "JDK 'make install' - puzzling error message"
    To: freebsd-questions@freebsd.org
    Date: 27 Oct 2003 20:37:52 -0500
    
    

    DavidB <odyseus00@whatistruth.net> writes:

    > Hey, Lowell could you please read the thread I reference and give your
    > opinion of the issue about the WD diagnostic tool.

    Most manufacturers have their own versions of such tools.
    If you can use them, they are indeed quite likely to give you more
    information than you can get any other way.

    > So I was studying what you were talking about bad block remapping,
    > dynamic bad block remapping, or western digital's term "Auto Defect
    > Retirement"
    >
    > I had expected that I disk would when failing to write to a bad area
    > on disk and fails to mark it bad and redirect it to somewhere else on
    > the disk. But reads I would not have expected the hardware to do
    > anything other than give a failure. It seems there is some mechanism
    > to do this automatically within the hardware with reads also. But it
    > seems very vague on how and when this is tripped. Most of my reading
    > including one thing from someone who works for Maxtor is that the bad
    > block is marked bad at the failed read (or succesive failed reads,
    > says the Maxtor guy) however doesn't get remapped until the next
    > write, and from my reading, seems to be, not until the next write to
    > that particular sector. So the bad block being read would be there
    > until you did something to cause the hardware to remap it. It doesn't
    > seem it is done so it is totally hidden from view or seeing issues
    > with bad blocks.

    This seems to differ a little between manufacturers, but I think most
    of them have a few more complexities than that description. One of
    the more impressive tricks is to re-try failed reads, starting from a
    different sector on the cylinder (and thus, a different timing, which
    improves your odds of a good read if you're having problems with the
    platter-to-head separation).

    More expensive drive firmware will certainly recover the problem
    sectors automatically -- I suspect, but do not know for certain, that
    some drives will first try re-writing the data back to the same
    sector, in case field strength just needs reinforcing.

    > The system seems to be setup in order to catch problems and remap them
    > at the earliest time so that the data is not totally unreachable[lost]
    > the hardware will try using multiple reads with ECC to read out the
    > effected data [from what I have read] and writes it somewhere else.

    Of course, you won't hear about it at that time.

    > So again I say that the disk PROBABLY is NOT in for a soon demise.
    > Running the disk diagnostic tools from the disk manufacturer will
    > remap the bad block immeadiately as well as other things, rather than
    > waiting until you happen to write to that sector again.

    Yes, I did "pull the trigger" a bit fast on this; it's possible that
    the two errors reported by the original poster were the only ones
    observed. In that case, they could be a fluke for any number of
    reasons, right down to sunspots. I probably should have recommended
    being *prepared* to replace the drive.
    _______________________________________________
    freebsd-questions@freebsd.org mailing list
    http://lists.freebsd.org/mailman/listinfo/freebsd-questions
    To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org"


  • Next message: Richard Shea: "JDK 'make install' - puzzling error message"

    Relevant Pages

    • Re: SortMerge avoids thrashing (was: Baileys "two pass" FFT algorithm question)
      ... of size that match the backing store to assure locality of reference. ... For RAM backed by disk, the key thing which takes the most time is ... you need to localize sector reads within that one ... Sweeps your RAM once when you load original data from disk. ...
      (comp.programming)
    • Re: XP Pro Recovery Errors
      ... it turns out that the boot sector, sector 0, of my HDD failed to "read, write, or remove write-protection." ... Hard drives, when they have a problem with a sector, mark it as "pending". ... So if you do something to write to the disk, and write sector zero, ...
      (microsoft.public.windowsxp.general)
    • Re: FUD about CGD and GBDE
      ... > a sector that has been rewritten. ... zone, otherwise it would expose the remaining sectors is the zone. ... contents and regular data written to the disk by the user. ... > possible to determine this fairly quickly using traffic analysis. ...
      (freebsd-hackers)
    • Re: Hard Drive Issues
      ... I'm assuming that particular sector on the drive is dying, ... Looks like you disk is on its way out, from the look of the above ... bsdlabel and newfs the new disk the way you want it. ... Ignore all the stuff above where it displays the partition information. ...
      (freebsd-questions)
    • Re: How to play an old floppy disk.
      ... Both were detected as double density with a sector size of 256 bytes ... that he had never seen a disk like this, 5.25 floppy, for a macintosh, ...   Should I look into that further? ... I can see the disc ...
      (comp.sys.ibm.pc.hardware.storage)