Date: Fri, 8 May 1998 14:00:45 -0700 (PDT) From: Doug White <dwhite@gdi.uoregon.edu> To: Clod Baldrick <baldrick@rmsq.com> Cc: freebsd-questions@FreeBSD.ORG Subject: Re: Masking out bad blocks Message-ID: <Pine.BSF.3.96.980508135818.28068V-100000@gdi.uoregon.edu> In-Reply-To: <Pine.BSF.3.95q.980507111139.26243B-100000@corsair>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.3.96.980508135818.28068V-100000>