From owner-freebsd-questions Sat Oct 5 14:16:45 1996 Return-Path: owner-questions Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id OAA08583 for questions-outgoing; Sat, 5 Oct 1996 14:16:45 -0700 (PDT) Received: from mailhost.coppe.ufrj.br (root@cisigw.coppe.ufrj.br [146.164.2.31]) by freefall.freebsd.org (8.7.5/8.7.3) with ESMTP id OAA08577 for ; Sat, 5 Oct 1996 14:16:40 -0700 (PDT) Received: (from jonny@localhost) by mailhost.coppe.ufrj.br (8.7.5/8.7.3) id SAA00364; Sat, 5 Oct 1996 18:14:12 -0300 (EST) From: Joao Carlos Mendes Luis Message-Id: <199610052114.SAA00364@mailhost.coppe.ufrj.br> Subject: Re: Help! /bin/csh is gone! To: shovey@buffnet.net (Stephen Hovey) Date: Sat, 5 Oct 1996 18:14:12 -0300 (EST) Cc: pjchilds@imforei.apana.org.au, freebsd-questions@FreeBSD.org In-Reply-To: from Stephen Hovey at "Oct 5, 96 01:42:25 pm" X-Mailer: ELM [version 2.4ME+ PL14 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-questions@FreeBSD.org X-Loop: FreeBSD.org Precedence: bulk #define quoting(Stephen Hovey) // I dont know that I would want an auto-remap. After manually running the // routine to remap, I had to fsck to uncorrupt thing - a scsi remap just // effectively replaces a sector with data on it that went bad, with a sector // of wide open nothing. I think that enabling only AWRE will not give these side-effects... // > > > Some scsi drives come with badsector remapping turned off for some // > > > stupid reason... check the freebsd faq about using the // > > > 'scsi' // > > > command to enable it for this drive.. that should fix your problem. ... // > // > --quote-- // > // > To enable this, you'll need to edit the first device page mode, // > which can be done on FreeBSD by giving the // > command (as root) // > // > scsi -f /dev/rsd0c -m 1 -e -P 3 // > // > and changing the values of AWRE and ARRE from 0 to 1:- // > // > AWRE (Auto Write Reallocation Enbld): 1 // > ARRE (Auto Read Reallocation Enbld): 1 Ok, how can we do this ? What's the command line ? It's possible to enable on a drive by drive basis, isn't it ? // > // > --endquote-- // > // > I was suprised to fine neary every scsi drive on the machines // > i look after had these off :( When one of my news disks on // > a ccd went down it caused me a lot of pain before i found this // > option and turned it on. // > // > Regards, // > Peter Jonny -- Joao Carlos Mendes Luis jonny@gta.ufrj.br +55 21 290-4698 ( Job ) jonny@cisi.coppe.ufrj.br Network Manager UFRJ/COPPE/CISI Universidade Federal do Rio de Janeiro