From owner-freebsd-questions@FreeBSD.ORG Wed Feb 9 20:43:56 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E705F1065674 for ; Wed, 9 Feb 2011 20:43:55 +0000 (UTC) (envelope-from freebsd.user@seibercom.net) Received: from mail-gw0-f54.google.com (mail-gw0-f54.google.com [74.125.83.54]) by mx1.freebsd.org (Postfix) with ESMTP id 9977D8FC18 for ; Wed, 9 Feb 2011 20:43:55 +0000 (UTC) Received: by gwj21 with SMTP id 21so273158gwj.13 for ; Wed, 09 Feb 2011 12:43:54 -0800 (PST) Received: by 10.100.141.16 with SMTP id o16mr11382753and.71.1297284233641; Wed, 09 Feb 2011 12:43:53 -0800 (PST) Received: from scorpio.seibercom.net (cpe-071-070-216-068.nc.res.rr.com [71.70.216.68]) by mx.google.com with ESMTPS id w6sm804748anf.26.2011.02.09.12.43.50 (version=TLSv1/SSLv3 cipher=RC4-MD5); Wed, 09 Feb 2011 12:43:51 -0800 (PST) Received: from scorpio (zeus [192.168.1.1]) (using TLSv1 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) (Authenticated sender: FreeBSD.user@scorpio.seibercom.net) by scorpio.seibercom.net (Postfix) with ESMTPSA id 52806E54824 for ; Wed, 9 Feb 2011 15:43:49 -0500 (EST) Date: Wed, 9 Feb 2011 15:43:48 -0500 From: Jerry To: FreeBSD Message-ID: <20110209154348.457c4f7b@scorpio> In-Reply-To: References: Organization: seibercom.net X-Mailer: Claws Mail 3.7.8 (GTK+ 2.22.1; amd64-portbld-freebsd8.2) Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAAJFBMVEUeH4oAAI3//v8LDHmw s8gyNZ/b3ej7+vn+/v////+PjIc8Plaj/TnQAAACNElEQVQ4jaXUvW/aQBQAcFtKGZLFT+YY 3D1SR9SKoRMncE3IggU4kicGi1JYOgQwyYrgnLlSzhsoNkTuVJEp+ef6ztiAoV3aJ+QPfufn s987S/5fQvoXYPjztmfc514Ks+5JfGUCfrzt4+VabF+jwEV4DGEXN8N4p16sPLxHX07/V3qX yfF5D2H6K4V8j9NkyAphvkjBembD5PDFk3zeTzP1jcksyaV9w+d4ELmUoOp8N2p8uQVyhTAT uawnKNH2mie5lJp48mscUcbJUvg0mR6APwAoye9AMyWozY4gAh0vcxa5FJ4TKCuODESWtfkB 8AEQSupUXNIYH8FSC2w8X3eMBNbbVJpJ7MgECO5yJ9DUEWCYkzNAlsRsgwLQ1GkWqELbkDOh 1bUzoHagYkNh9MXlK/MQoA42gTxz2bhPM2DJedm8MZx6cNfJgEZJ5cmwPp5FZ/Ye8O2qTrFV dgOrHkZRBoheJiGrRquwAhnQ6GeTePPerWVmQelAQ5lwNqtvQd2lcooAV74/zR1BIRS19fy5 ru+B/8ReW9pYKMPjt609zDaitHHTGOO+Zu7gHvsKE7XbeE1QVuJXomIFuZgUJdXQdhpqEELc /e8RLjfi+cQ01yMdWot8UcCVxEWHEkcUrsDGuhaIEoM9kfgAR6jxHcmEV7tNURAl8KTHN9iF McKGFHGO62O62UMpbmlVuogQ7ndL8zXCiLeBy3xpfrqaXS/+AHDG4o8AvhuPeezD/3xL/hy/ Adjlg2odglF2AAAAAElFTkSuQmCC Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Subject: Re: Bad hard driver X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: FreeBSD List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 09 Feb 2011 20:43:56 -0000 On Wed, 09 Feb 2011 12:12:26 -0800 Chuck Swiger 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 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.