[1610] in linux-scsi channel archive
Re: How to set fault tolerance for SCSI disks ?
daemon@ATHENA.MIT.EDU (Philippe Strauss)
Tue Mar 25 13:05:55 1997
Date: Tue, 25 Mar 1997 18:32:47 +0100 (CET)
From: Philippe Strauss <philou@sicel-home-1-4.urbanet.ch>
To: nhmagaer <Juergen.Gaertner@mbox.si.uni-hannover.de>
cc: Steffen Grunewald <steffen@gfz-potsdam.de>, linux-scsi@vger.rutgers.edu
In-Reply-To: <Pine.GSO.3.95.970325181055.839B-100000@c34003>
On Tue, 25 Mar 1997, nhmagaer wrote:
> On Tue, 25 Mar 1997, Philippe Strauss wrote:
> > On Tue, 25 Mar 1997, Steffen Grunewald wrote:
> >
> ...
> > > 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 :-).
>
> I build the kernel with SCSI as module. If I unmount all SCSI devices
> (tryed it with CD, IOMEGA), and then unload SCSI, I can "hotplug" the SCSI
> drive. I don't know if this is realy safe, but until yet I have not
> observed any problem. This would perhaps avoid the boot process in your
> cycle.
> The disadvantage is, that no SCSI device will be usable in that time. But
> I configured my PC in a way, that he can work witout SCSI.
You've completely missed the point of the original post, but anyway..
You can do that without loading/unloading modules, with:
echo "scsi add-single-device 0 0 id_of_the_device 0" > /proc/scsi/scsi
and
echo "scsi remove-single-device 0 0 id_of_the_device 0" > /proc/scsi/scsi
>
> Rgs.
> Gärti
>
> \ *** Schering-Institute for high-voltage technologies and applications ***
> \/\ My Name: J"urgen G"artner | Phone: +49+511+762-2705 Fax: -2726
> \ gaertner@mbox.si.uni-hannover.de | Ordinary Mail: Callinstrasse 25A
> _\| http://sun1.rrzn-user.uni-hannover.de/~nhmasche | D-30167 Hannover
>
----
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"
----