Re: how to check for bad blocks on IDE

From: Scott Mitchell (scott+freebsd_at_fishballoon.org)
Date: 07/16/03

  • Next message: Patrice Guérin: "Question about your logo"
    Date: Wed, 16 Jul 2003 21:34:12 +0100
    To: "akanwar@digitarchy.com" <akanwar@digitarchy.com>
    
    

    On Wed, Jul 16, 2003 at 02:55:51PM -0400, akanwar@digitarchy.com wrote:
    > Hi all,
    >
    > Is there a way in freebsd to check for bad blocks. Linux can do this via a
    > -c flag to mkfs; but newfs for FreeBSD does not seem to have this
    > functionality.
    >
    > The issue is that I have a IDE disk that I suspect to be bad )but there
    > have been no ATA resets or logged errors so far). I either need to do a bad
    > block check while creating a filesystem or some other diagnostic tool that
    > can do a low level check on the disk.
    >
    > Thanks,
    > -ansh

    Hi,

    Probably the best thing to do is download the disk manufacturer's diagnostic
    program (usually some kind of bootable floppy image) and run that against
    the drive. Modern drives do bad block mapping internally, so you won't see
    any errors until the drive has run out of spare blocks -- at this point you
    replace the drive and hope your backups are in good shape :-)

    My understanding is that SMART is supposed to help you out here by giving
    you some advance warning of drive problems, before the thing completely stops
    working. I've never actually seen this happen with any drive on any OS,
    however. Anyone know of any FreeBSD-friendly SMART diagnostic tools?

            Scott

    _______________________________________________
    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: Patrice Guérin: "Question about your logo"

    Relevant Pages

    • Re: Planning a FreeBSD desktop, basic questions.
      ... doing it over again on a fresh installation of 5.x ... > - FreeBSD will be on the second disk. ... Windows and FreeBSD from the *same* drive, but not two different drives. ...
      (freebsd-questions)
    • RE: DMA errors
      ... >> in the days that the IDE controller chip was on a paddle card I ... >> these problems is to play musical chairs with the disk drives. ... >> FreeBSD system or go find some other brand of motherboard for your ... FreeBSD drives disks a bit harder than other OSes, ...
      (freebsd-questions)
    • Re: maximum hard drive capacity supported?
      ... |> BIOS the system might not be able to recognize a large disk. ... after booting FreeBSD will get whole disk ... I already have two drives that are ...
      (freebsd-questions)
    • large RAID volume partition strategy
      ... I've come up with three possibilities on organizing this disk. ... I don't plan to ever connect any other servers to this RAID unit. ... and make one FreeBSD file system on the whole partition. ... Make 6 RAID volumes and expose them to FreeBSD as multiple drives, then make one partition + file system on each "disk". ...
      (freebsd-stable)
    • ATA Woes.
      ... I'm seeing something very unusual on one of our FreeBSD 5.4 Stable ... was having trouble with WRITE_DMA and READ_DMA timeouts on it's SATA ... We finally decided to migrate to a new disk, ... two dud disks from two separate batches of drives from, ...
      (freebsd-stable)