From owner-freebsd-current@FreeBSD.ORG Thu Mar 18 12:18:05 2010 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E2EAC106566B for ; Thu, 18 Mar 2010 12:18:05 +0000 (UTC) (envelope-from des@des.no) Received: from smtp.des.no (smtp.des.no [194.63.250.102]) by mx1.freebsd.org (Postfix) with ESMTP id A54558FC16 for ; Thu, 18 Mar 2010 12:18:05 +0000 (UTC) Received: from ds4.des.no (des.no [84.49.246.2]) by smtp.des.no (Postfix) with ESMTP id C23A11FFC22; Thu, 18 Mar 2010 12:18:04 +0000 (UTC) Received: by ds4.des.no (Postfix, from userid 1001) id 5BE6884495; Thu, 18 Mar 2010 13:18:04 +0100 (CET) From: =?utf-8?Q?Dag-Erling_Sm=C3=B8rgrav?= To: Pieter de Goeje References: <20100308102918.GA5485@localhost> <4BA20088.3050006@quip.cz> <86vdctkhpw.fsf@ds4.des.no> <201003181234.10667.pieter@degoeje.nl> Date: Thu, 18 Mar 2010 13:18:04 +0100 In-Reply-To: <201003181234.10667.pieter@degoeje.nl> (Pieter de Goeje's message of "Thu, 18 Mar 2010 12:34:10 +0100") Message-ID: <86r5nhj01v.fsf@ds4.des.no> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.95 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Cc: freebsd-current@freebsd.org, Miroslav Lachman <000.fbsd@quip.cz> Subject: Re: A tool for remapping bad sectors in CURRENT? X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 18 Mar 2010 12:18:06 -0000 Pieter de Goeje writes: > Dag-Erling Sm=C3=B8rgrav writes: > > And if you're comfortable *writing* kernel code, I would suggest > > implementing WORF in geom_mirror :) > I am intrigued, what is this WORF you speak of? Write On Read Failure. It means that if you can't read a sector but you have (or can recreate) a copy of the data that's supposed to be on it, you rewrite that data to force the disk to reallocate the sector. I've done this manually several times (dd'ed a sector from the other disk in a mirror). I believe I even posted the procedure at some point; I'll check my archive. DES --=20 Dag-Erling Sm=C3=B8rgrav - des@des.no