From owner-freebsd-questions@FreeBSD.ORG Mon Jul 18 11:37:06 2005 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3792F16A41C for ; Mon, 18 Jul 2005 11:37:06 +0000 (GMT) (envelope-from nb@ravenbrook.com) Received: from raven.ravenbrook.com (raven.ravenbrook.com [193.82.131.18]) by mx1.FreeBSD.org (Postfix) with ESMTP id A567743D49 for ; Mon, 18 Jul 2005 11:37:05 +0000 (GMT) (envelope-from nb@ravenbrook.com) Received: from thrush.ravenbrook.com (thrush.ravenbrook.com [193.112.141.145]) by raven.ravenbrook.com (8.12.6p3/8.12.6) with ESMTP id j6IBb2Xi011661; Mon, 18 Jul 2005 12:37:02 +0100 (BST) (envelope-from nb@ravenbrook.com) Received: from thrush.ravenbrook.com (localhost [127.0.0.1]) by thrush.ravenbrook.com (8.12.9p2/8.12.9) with ESMTP id j6IBb2FM060858; Mon, 18 Jul 2005 12:37:02 +0100 (BST) (envelope-from nb@thrush.ravenbrook.com) From: Nick Barnes To: Alex Zbyslaw In-Reply-To: <42D84DA3.3000304@dial.pipex.com> from Alex Zbyslaw of "Sat, 16 Jul 2005 00:58:27 +0100" Date: Mon, 18 Jul 2005 12:37:02 +0100 Message-ID: <60857.1121686622@thrush.ravenbrook.com> Sender: nb@ravenbrook.com Cc: freebsd-questions@freebsd.org Subject: Re: better disk reliability on a desktop machine X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 18 Jul 2005 11:37:06 -0000 At 2005-07-15 23:58:27+0000, Alex Zbyslaw writes: > Nick Barnes wrote: > > >Here are my previous questions on the related subject, some 4 years > >ago now: > > > > > > > > > Shame no-one answered your badsect question. Did you ever figure it out? No. I hope to have enough time to code this up myself this time. It's a Small Matter of Programming to grovel over the filesystem to figure out what a particular sector does. I'm a little disappointed that fsdb doesn't do this. Maybe I should start by hacking on fsdb. I have recently discovered the "conv=noerror,sync" option to dd. In combination with a background shell script which repeatedly runs "atacontrol mode 0 udma6 udma6", this lets me recover all the readable bits from a broken filesystem quite fast. Nick B