Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 1 Feb 1998 14:57:16 -0700 (MST)
From:      Edward Ajhar <ajhar@noao.edu>
To:        dwhite@resnet.uoregon.edu
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: disk error question
Message-ID:  <199802012157.OAA04110@husa.tuc.noao.edu>
In-Reply-To: <Pine.BSF.3.96.980129200403.1248M-100000@gdi.uoregon.edu> (message from Doug White on Thu, 29 Jan 1998 20:07:17 -0800 (PST))
References:   <Pine.BSF.3.96.980129200403.1248M-100000@gdi.uoregon.edu>

next in thread | previous in thread | raw e-mail | index | archive | help

   Date: Thu, 29 Jan 1998 20:07:17 -0800 (PST)
   From: Doug White <dwhite@gdi.uoregon.edu>

   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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199802012157.OAA04110>