Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 9 Feb 2011 15:43:48 -0500
From:      Jerry <freebsd.user@seibercom.net>
To:        FreeBSD <freebsd-questions@freebsd.org>
Subject:   Re: Bad hard driver
Message-ID:  <20110209154348.457c4f7b@scorpio>
In-Reply-To: <EEB2B3DA-81F2-44A6-BDDD-F7D5418BB693@mac.com>
References:  <AANLkTi=1oBAT1Xr7SkUBg5pShpc0%2B7XiDpQvrT0dwHwd@mail.gmail.com> <EEB2B3DA-81F2-44A6-BDDD-F7D5418BB693@mac.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, 09 Feb 2011 12:12:26 -0800
Chuck Swiger <cswiger@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:
> 
>   http://support.wdc.com/product/download.asp?groupid=613&lang=en
> 
> ...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.

-- 
Jerry ✌
FreeBSD.user@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.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20110209154348.457c4f7b>