From owner-freebsd-hackers Sun Aug 17 23:57:54 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id XAA01539 for hackers-outgoing; Sun, 17 Aug 1997 23:57:54 -0700 (PDT) Received: from genesis.atrad.adelaide.edu.au (genesis.atrad.adelaide.edu.au [129.127.96.120]) by hub.freebsd.org (8.8.5/8.8.5) with ESMTP id XAA01532 for ; Sun, 17 Aug 1997 23:57:50 -0700 (PDT) Received: (from msmith@localhost) by genesis.atrad.adelaide.edu.au (8.8.5/8.7.3) id QAA11093; Mon, 18 Aug 1997 16:27:35 +0930 (CST) From: Michael Smith Message-Id: <199708180657.QAA11093@genesis.atrad.adelaide.edu.au> Subject: Re: dead disk In-Reply-To: from Ian Kallen at "Aug 17, 97 11:20:12 pm" To: ian@gamespot.com (Ian Kallen) Date: Mon, 18 Aug 1997 16:27:35 +0930 (CST) Cc: joerg_wunsch@uriah.heep.sax.de, freebsd-hackers@FreeBSD.ORG X-Mailer: ELM [version 2.4ME+ PL28 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-hackers@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk 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 [[