[1608] in linux-scsi channel archive

home help back first fref pref prev next nref lref last post

Re: How to set fault tolerance for SCSI disks ?

daemon@ATHENA.MIT.EDU (Philippe Strauss)
Tue Mar 25 12:33:47 1997

Date: 	Tue, 25 Mar 1997 18:50:33 +0100 (CET)
From: Philippe Strauss <philou@sicel-home-1-4.urbanet.ch>
To: Steffen Grunewald <steffen@gfz-potsdam.de>
cc: linux-scsi@vger.rutgers.edu
In-Reply-To: <199703250850.JAA18923@zrt2.gfz-potsdam.de>

On Tue, 25 Mar 1997, Steffen Grunewald wrote:

> Hi list,
> 
> I've got a question which might be slightly off-topic, but there's a Linux
> aspect too.
> 
> I'm preparing a few dozens of registration harddisks for seismic field
> equipment just now and would like to activate the SCSI settings which
> provide automatic re-mapping of defective sectors "on the fly" so the 
> drive appears defect-free while the reserve sectors last.
> There was a discussion on this list some months ago I remember, but there
> seemed to be no summary.
> Could some kind soul please list the mode page bits I have to set (and to
> which values, of course) to achieve the goal described above - apparently
> defect-free disks for a longer period (as the disks are used for about
> 6 months up to 1 year or even more without coming back to the lab for
> re-low-formatting, and we're bound to readablility of every byte written) ?

This is ARRE and AWRE on the Error Recovery page (Auto relocation on
read/write error)


> I also know that there are tools to set/reset those features (scsi-config
> or so), I'd like to receive pointers to a command-line driven tool though,
> because I have to prepare about hundred disks (connect, boot, start X, start
> X tool, stop X, shutdown, disconnect, redo from start - would take too much
> time, so the shorter cycle connect, boot, start tool, shutdown, disconnect
> is preferred :-).

This is doable with scsiinfo -e /dev/sd.. -R -X ... , but I don't know the
syntax. Ask Eric Yougdale.

scsiinfo is bundled with scsi-config, since scsiinfo does the low-level
stuff for scsi-config.

> Perhaps this should be a FAQ ? (I wasn't able to find the words "ARRE" and
> "AWRE" in the current SCSI-HOWTO of 30Aug96, so I suppose it's not in there.)
> 
> TIA, Steffen
> -- 
> Steffen Grunewald |  email steffen@gfz-potsdam.de |  fax (+49)-331-8877 520
> GeoForschungsZentrum Potsdam, Telegrafenberg A17, D-14473 Potsdam,  Germany 
>                       http://www.gfz-potsdam.de/
> /* Disclaimer : I don't speak for my employers, they don't speak for me  */
> 

----
Philippe Strauss, Telecom engineer.
PGP key: finger philou@sicel-home-1-4.urbanet.ch

Email:		<philou@sicel-home-1-4.urbanet.ch>
Homepage:	http://sicel-home-1-4.urbanet.ch

"Death can come quickly to a market leader."
	-- Bill Gates, "The Road Ahead"
----


home help back first fref pref prev next nref lref last post