From owner-freebsd-questions Fri May 31 2:11:18 2002 Delivered-To: freebsd-questions@freebsd.org Received: from highland.isltd.insignia.com (highland.isltd.insignia.com [195.74.141.1]) by hub.freebsd.org (Postfix) with ESMTP id 6E29A37B412 for ; Fri, 31 May 2002 02:10:54 -0700 (PDT) Received: from wolf.isltd.insignia.com (wolf.isltd.insignia.com [172.16.1.3]) by highland.isltd.insignia.com (8.11.6/8.11.6) with ESMTP id g4V9Alo94976 for ; Fri, 31 May 2002 10:10:47 +0100 (BST) Received: (from news@localhost) by wolf.isltd.insignia.com (8.9.3/8.9.3) id KAA17551 for freebsd-questions@freebsd.org; Fri, 31 May 2002 10:10:47 +0100 (BST) From: freebsd-questions-local@insignia.com To: freebsd-questions@freebsd.org Subject: Re: Fixing a bad block on a disk Date: Fri, 31 May 2002 10:10:38 +0100 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Thu, 30 May 2002 13:01:22 +0100, freebsd-questions-local@insignia.com wrote: >A recent power spike left me with an unreadable >block on an IDE drive, which FDISK can't fix, so >I can't mount the partition. > >Fortunately it only contained a Squid cache, and >more fortunately I had a spare partition which I >was able to use so the machine is up and running. > >However I'd like to use the partition with the bad >block. Is there any way I can map it out at the >disk controller level, or failing that to tell >newfs not to use that block when remaking the >filesystem? Turned out that it must have only been a bad checksum, since I was able to dd over the one block then it became readable and fsck was happy. -- Jim Hatfield To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message