Bad hard driver
freebsd.user at seibercom.net
Wed Feb 9 20:43:56 UTC 2011
On Wed, 09 Feb 2011 12:12:26 -0800
Chuck Swiger <cswiger at mac.com> articulated:
> On Feb 9, 2011, at 11:15 AM, Daniel Zhelev wrote:
> > The following warning/error was logged by the smartd daemon:
> > Device: /dev/ad7, 3 Offline uncorrectable sectors
> It means that the drive has detected errors in three sectors, and is
> attempting to recover them without data loss to spare sectors, so far
> without success. It could also indicate that the drive has exhausted
> the spare sectors, in which case all future errors will cause
> additional data loss.
> >From the "SMART Self-test log", it seems like you are running short
> >self-tests every 24 hours, and periodically running extended tests
> >on some interval as well. The smartctl FAQ recommends doing so at
> >weekly intervals; doing it daily is putting significant testing load
> >onto the drive.
> > I know about the how to -
> > http://smartmontools.sourceforge.net/badblockhowto.html
> > But how can I get the LBA?
> > And is there some diagnostic tool for WD in ports?
> Doing a "dd if=/dev/ad7 of=/dev/null bs=64k" will read-scan the
> entire drive, and ought to produce a warning in the logs indicating
> the LBA of the bad sectors. As for diagnostic tools, WD makes
> utilities for DOS and Windows, not FreeBSD. See:
> ...for something which you can run off of a boot floppy, USB
> pendrive, etc.
Spinrite <http://www.grc.com/spinrite.htm> is the best tool I have used
for finding bad sectors on an HD. It isn't free, really good software
rarely is; however, it creates it own boot CD or floppy disk so it is
OS independent. Plus, it works on virtually any HD. Running it at its
highest setting can even correct some common HD problems.
FreeBSD.user at seibercom.net
Disclaimer: off-list followups get on-list replies or get ignored.
Please do not ignore the Reply-To header.
Be incomprehensible. If they can't understand, they can't disagree.
More information about the freebsd-questions