From owner-freebsd-stable@FreeBSD.ORG Sat Aug 20 00:14:57 2011 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2F203106566B for ; Sat, 20 Aug 2011 00:14:57 +0000 (UTC) (envelope-from db@db.net) Received: from diana.db.net (diana.db.net [66.113.102.10]) by mx1.freebsd.org (Postfix) with ESMTP id 1B9488FC0A for ; Sat, 20 Aug 2011 00:14:56 +0000 (UTC) Received: from night.db.net (localhost [127.0.0.1]) by diana.db.net (Postfix) with ESMTP id 158F62282A; Fri, 19 Aug 2011 17:48:20 -0600 (MDT) Received: by night.db.net (Postfix, from userid 1000) id 0FA996533; Fri, 19 Aug 2011 19:57:19 -0400 (EDT) Date: Fri, 19 Aug 2011 19:57:19 -0400 From: Diane Bruce To: Dan Langille Message-ID: <20110819235719.GA64220@night.db.net> References: <1B4FC0D8-60E6-49DA-BC52-688052C4DA51@langille.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1B4FC0D8-60E6-49DA-BC52-688052C4DA51@langille.org> User-Agent: Mutt/1.4.2.3i Cc: freebsd-stable@freebsd.org Subject: Re: bad sector in gmirror HDD X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 20 Aug 2011 00:14:57 -0000 On Fri, Aug 19, 2011 at 04:50:01PM -0400, Dan Langille wrote: > System in question: FreeBSD 8.2-STABLE #3: Thu Mar 3 04:52:04 GMT 2011 > > After a recent power failure, I'm seeing this in my logs: > > Aug 19 20:36:34 bast smartd[1575]: Device: /dev/ad2, 2 Currently unreadable (pending) sectors > Personally, I'd replace that drive now. > Searching on that error message, I was led to believe that identifying the bad sector and > running dd to read it would cause the HDD to reallocate that bad block. No, as otherwise mentioned (Hi Jeremy!) you need to read and write the block. This could buy you a few more days or a few more weeks. Personally, I would not wait. Your call. > Comments? ... > Dan Langille - http://langille.org - Diane -- - db@FreeBSD.org db@db.net http://www.db.net/~db Why leave money to our children if we don't leave them the Earth?