From owner-freebsd-questions Thu May 30 5: 1:44 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 30BD937B400 for ; Thu, 30 May 2002 05:01:38 -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 g4UC1Vo77609 for ; Thu, 30 May 2002 13:01:31 +0100 (BST) Received: (from news@localhost) by wolf.isltd.insignia.com (8.9.3/8.9.3) id NAA04307 for freebsd-questions@freebsd.org; Thu, 30 May 2002 13:01:31 +0100 (BST) From: freebsd-questions-local@insignia.com To: freebsd-questions@freebsd.org Subject: Fixing a bad block on a disk Date: Thu, 30 May 2002 13:01:22 +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 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? -- Jim Hatfield To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message