From owner-freebsd-questions Fri May 8 20:13:18 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id UAA13005 for freebsd-questions-outgoing; Fri, 8 May 1998 20:13:18 -0700 (PDT) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from marine.sonic.net (marine.sonic.net [208.201.224.37]) by hub.freebsd.org (8.8.8/8.8.8) with SMTP id UAA12996 for ; Fri, 8 May 1998 20:13:13 -0700 (PDT) (envelope-from lfloyd@sonic.net) Received: (qmail 14566 invoked from network); 9 May 1998 03:13:54 -0000 Received: from unknown (HELO sub.sonic.net) (208.201.224.8) by marine.sonic.net with SMTP; 9 May 1998 03:13:54 -0000 Received: from sonic.net (d122.nas16.sonic.net [208.201.231.122]) by sub.sonic.net (8.8.8/8.8.5) with ESMTP id UAA29326 for ; Fri, 8 May 1998 20:13:13 -0700 X-envelope-info: Message-ID: <3553CAA0.ADB30085@sonic.net> Date: Fri, 08 May 1998 20:16:48 -0700 From: "L. Floyd" Reply-To: lfloyd@sonic.net Organization: MonkeyPuzzle Solutions X-Mailer: Mozilla 4.05 [en] (Win95; U) MIME-Version: 1.0 To: Freebsd-questions@FreeBSD.ORG Subject: Re: Masking out bad blocks References: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Is there an equivalent method for mapping bad blocks on an EIDE drive? I have an EIDE disk that I'm about ready to get rid of due to a multitude of i/o problems related to it. - Larry Doug White wrote: > > On Thu, 7 May 1998, Clod Baldrick wrote: > > > fsck tells us we have bad blocks on a file system, but apparently makes no > > attempt to mask out these blocks. Does anyone know how we can do this? > > It used to be the case that doing a low-level format would give us a table > > of bad blocks for mkfs to ignore, but scsiformat doesn't seem to do this > > -- and it completes in around a second. > > The disk should silently map these bad blocks itself. Make sure that auto > relocation is enabled by running > > scsi -f /dev/rsdX -m 1 > > and verify that AWRE and ARRE are set to 1: > > gdi,ttyp2,~/src/usr.sbin/sendmail/cf/cf,42>sudo scsi -f /dev/rsd0 -m 1 > AWRE (Auto Write Reallocation Enbld): 1 > ARRE (Auto Read Reallocation Enbld): 1 > > X = unit # of SCSI disk in question. > > If bad blocks are poking through it's only going to get worse. > > Doug White | University of Oregon > Internet: dwhite@resnet.uoregon.edu | Residence Networking Assistant > http://gladstone.uoregon.edu/~dwhite | Computer Science Major > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message