Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 18 Aug 1997 16:27:35 +0930 (CST)
From:      Michael Smith <msmith@atrad.adelaide.edu.au>
To:        ian@gamespot.com (Ian Kallen)
Cc:        joerg_wunsch@uriah.heep.sax.de, freebsd-hackers@FreeBSD.ORG
Subject:   Re: dead disk
Message-ID:  <199708180657.QAA11093@genesis.atrad.adelaide.edu.au>
In-Reply-To: <Pine.BSF.3.95q.970817231802.6917E-100000@ns2.gamespot.com> from Ian Kallen at "Aug 17, 97 11:20:12 pm"

next in thread | previous in thread | raw e-mail | index | archive | help
Ian Kallen stands accused of saying:
> On Mon, 18 Aug 1997, J Wunsch wrote:
> > Did you turn on automatic error recovery?  It's on mode page 1 (see
> > scsi(8)).
> > 
> > If you turn it on right now, you can't fix the old errors unless you
> > overwrite the bad block (0x50033, block number from the beginning of
> > the device).
> 
> Poking through the archives and the man page, I just don't find anything
> informative leading towards a resolution.  Does this tell me anything I
> can you to save this disk?
> 
> # scsi -f /dev/rsd3.ctl -m 1
> AWRE (Auto Write Reallocation Enbld):  0 
> ARRE (Auto Read Reallocation Enbld):  0 

The scsi(8) manpage has an example of editing this page to set these
values to 1. 

Once you've done this, you will probably need to arrange to _write_ to
the disk region that's broken in order to force the reallocation.

-- 
]] Mike Smith, Software Engineer        msmith@gsoft.com.au             [[
]] Genesis Software                     genesis@gsoft.com.au            [[
]] High-speed data acquisition and      (GSM mobile)     0411-222-496   [[
]] realtime instrument control.         (ph)          +61-8-8267-3493   [[
]] Unix hardware collector.             "Where are your PEZ?" The Tick  [[



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