From owner-freebsd-questions Sun Feb 1 13:57:39 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id NAA13536 for questions-outgoing; Sun, 1 Feb 1998 13:57:39 -0800 (PST) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from husa.tuc.noao.edu (husa.tuc.noao.edu [140.252.3.67]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id NAA13498 for ; Sun, 1 Feb 1998 13:57:32 -0800 (PST) (envelope-from ajhar@husa.tuc.noao.edu) Received: (from ajhar@localhost) by husa.tuc.noao.edu (8.8.7/8.8.7/EAA-1997Aug15) id OAA04110; Sun, 1 Feb 1998 14:57:16 -0700 (MST) Date: Sun, 1 Feb 1998 14:57:16 -0700 (MST) Message-Id: <199802012157.OAA04110@husa.tuc.noao.edu> From: Edward Ajhar To: dwhite@resnet.uoregon.edu CC: freebsd-questions@FreeBSD.ORG In-reply-to: (message from Doug White on Thu, 29 Jan 1998 20:07:17 -0800 (PST)) Subject: Re: disk error question References: Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG X-To-Unsubscribe: mail to majordomo@FreeBSD.org "unsubscribe questions" Date: Thu, 29 Jan 1998 20:07:17 -0800 (PST) From: Doug White On Tue, 27 Jan 1998, Edward Ajhar wrote: > > I recently got the following error message, and I don't know if this > failure indicates that the SCSI disk is broken because it failed to > reallocate a bad block or what. Is it possibly a kernel problem, or > can I be sure this is really a disk failure? Or, have I done > something stupid. Run `scsi -f /dev/rsd0 -m 1 -e -P 0' and check that the top two settings are 1. If they are, then your disk is full of bad blocks and should probably be replaced. If they aren't, run with the -P 3 option instead and change them to 1. See scsi(8) for details. Thanks for the advice. I run "scsi" as above and found AWRE (Auto Write Reallocation Enbld): 1 ARRE (Auto Read Reallocation Enbld): 1 I brought the machine down (after backing up onto a spare disk) and ran the verify diagnostics on the Adaptec 2940UW BIOS. It found and replaced the bad block and everything appears to be fine with the disk now. I don't quite understand what the failure was. Was the FreeBSD kernel unable to get the SCSI disk to remap its bad block, or is it not supposed to do this? --Ed