From owner-freebsd-questions@FreeBSD.ORG Fri Aug 22 06:51:49 2008 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 55B521065676 for ; Fri, 22 Aug 2008 06:51:49 +0000 (UTC) (envelope-from iwrTech@iwr.ru.ac.za) Received: from d.mail.ru.ac.za (d.mail.ru.ac.za [IPv6:2001:4200:1010::25:4]) by mx1.freebsd.org (Postfix) with ESMTP id 8AE168FC19 for ; Fri, 22 Aug 2008 06:51:48 +0000 (UTC) (envelope-from iwrTech@iwr.ru.ac.za) Received: from iwr.ru.ac.za ([146.231.64.249]:54891) by d.mail.ru.ac.za with esmtp (Exim 4.69 (FreeBSD)) (envelope-from ) id 1KWQUl-0002LU-LD; Fri, 22 Aug 2008 08:51:41 +0200 Received: from iwr61.iwr.ru.ac.za ([146.231.64.161]) by iwr.ru.ac.za with esmtp (Exim 4.69 (FreeBSD)) (envelope-from ) id 1KWQUl-000KTs-JI; Fri, 22 Aug 2008 08:51:39 +0200 From: "DA Forsyth" Organization: IWR To: freebsd-questions@freebsd.org Date: Fri, 22 Aug 2008 08:51:38 +0200 MIME-Version: 1.0 Message-ID: <48AE7E1A.17622.49F35FA@iwrtech.iwr.ru.ac.za> Priority: normal In-reply-to: <20080821153757.9183410656E1@hub.freebsd.org> References: <20080821153757.9183410656E1@hub.freebsd.org> X-mailer: Pegasus Mail for Windows (4.41) Content-type: text/plain; charset=US-ASCII Content-transfer-encoding: 7BIT Content-description: Mail message body X-Virus-Scanned: d.mail.ru.ac.za (146.231.129.36) Cc: thavinci@thavinci.za.net Subject: Re: freebsd-questions Digest, Vol 229, Issue 12 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: iwrTech@iwr.ru.ac.za List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 22 Aug 2008 06:51:49 -0000 On 21 Aug 2008 , freebsd-questions-request@freebsd.org entreated about "freebsd-questions Digest, Vol 229, Issue 12": > Date: Thu, 21 Aug 2008 15:24:30 +0200 > Subject: THE FOLLOWING DISK SECTORS COULD NOT BE READ > > On a different dilemma, I have a FreeBSD proxy server with what looks > like a failing drive. > > The drive ONLY holds cache so is not critical for system operation > however id still like to try something. > > It seem that no matter how many times I run fsck it still comes up > with same result, is there a way to isolate the bad sectors and use the > replacement ones on drive? Or even just isolate so that I can continue > using the drive for now. The only way I found to do this is to copy the data off the disk, then newfs that partition, then copy the data back. my 'copy off' process was a dump | restore to a temporary disk I added to the machine. also note: I replaced the disk within a couple of weeks after this. -- DA Fo rsyth Network Supervisor Principal Technical Officer -- Institute for Water Research http://www.ru.ac.za/institutes/iwr/