Date: Fri, 08 May 1998 20:16:48 -0700 From: "L. Floyd" <lfloyd@sonic.net> To: Freebsd-questions@FreeBSD.ORG Subject: Re: Masking out bad blocks Message-ID: <3553CAA0.ADB30085@sonic.net> References: <Pine.BSF.3.96.980508135818.28068V-100000@gdi.uoregon.edu>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3553CAA0.ADB30085>