Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 5 Oct 1996 18:14:12 -0300 (EST)
From:      Joao Carlos Mendes Luis <jonny@mailhost.coppe.ufrj.br>
To:        shovey@buffnet.net (Stephen Hovey)
Cc:        pjchilds@imforei.apana.org.au, freebsd-questions@FreeBSD.org
Subject:   Re: Help! /bin/csh is gone!
Message-ID:  <199610052114.SAA00364@mailhost.coppe.ufrj.br>
In-Reply-To: <Pine.BSI.3.95.961005134124.29236B-100000@buffnet7.buffnet.net> from Stephen Hovey at "Oct 5, 96 01:42:25 pm"

next in thread | previous in thread | raw e-mail | index | archive | help
#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



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