From owner-freebsd-questions@FreeBSD.ORG Thu Jul 24 17:33:36 2003 Return-Path: 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 9016037B401 for ; Thu, 24 Jul 2003 17:33:35 -0700 (PDT) Received: from fledge.watson.org (fledge.watson.org [204.156.12.50]) by mx1.FreeBSD.org (Postfix) with ESMTP id D982E43FA3 for ; Thu, 24 Jul 2003 17:33:34 -0700 (PDT) (envelope-from robert@fledge.watson.org) Received: from fledge.watson.org (localhost [127.0.0.1]) by fledge.watson.org (8.12.9/8.12.9) with ESMTP id h6P0Wrai027561; Thu, 24 Jul 2003 20:32:53 -0400 (EDT) (envelope-from robert@fledge.watson.org) Received: from localhost (robert@localhost)h6P0Wreu027558; Thu, 24 Jul 2003 20:32:53 -0400 (EDT) Date: Thu, 24 Jul 2003 20:32:52 -0400 (EDT) From: Robert Watson X-Sender: robert@fledge.watson.org To: Alfonso Romero In-Reply-To: <002501c35218$51d7dd60$0100a8c0@ibacsoft.dynu.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=ISO-8859-1 Content-Transfer-Encoding: QUOTED-PRINTABLE cc: freebsd-questions Subject: Re: marking bad blocks on a hard disk drive X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 25 Jul 2003 00:33:36 -0000 On Thu, 24 Jul 2003, Alfonso Romero wrote: > I=B4m installing FreeBSD 4.8 on a 8GB HDD, but it has some bad sectors. > How can I tell FreeBSD not to use these bad sectors? If the bad blocks are not under any vital file system meta-data (boot blocks, inodes, et al), you can use the badsect(8) command to create a file that includes the bad block. However, you really want to buy a new hard disk if this one is remotely recent, as it's likely a sign of impending drive failure.=20 Robert N M Watson FreeBSD Core Team, TrustedBSD Projects robert@fledge.watson.org Network Associates Laboratories