The problem is that these devices are not designed to survive that type of
event.
There is no optical isolation of the lines, so often the scsi controller
itself will freeze or at best loose communication with all devices on the
SCSI chain...
Linux has no mechanism for directly dealing with a hung adapter, though it
does a pretty good job of automatically re-initing hung scsi devices if it
fails to get a response within
a predetermined amount of time...
Suffice it to say, that if someone trips over the scsi cable, the system
will need to be rebooted... after it has been powered off and all the
connections re-established...
You could potentially attempt to unload the SCSI drivers from the kernel, if
the system is not frozen, but you'll find the kernel will recognize that the
device is still mounted and prevent this. You'll also be unable to dismount
the device, since Linux will be unable to flush it's buffers... (hmm if you
get this far then maybe the SCSITOOLS might help you...)
Round and round it goes...
-JMS
----- Original Message -----
From: heather casler <[EMAIL PROTECTED]>
To: Jose M. Sanchez <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>;
<[EMAIL PROTECTED]>
Sent: Monday, June 21, 1999 4:23 PM
Subject: Re: cmd to reinitialize SCSI bus ?
> I know it's not a good idea to pull the cable when you're doing I/O, but
> I'm doing a test and part of it is to see how the host will react to a
> cable pull and to determine what needs to be done to get the host back up
> and running with the least amount of downtime. For instance, what would
> the Linux host do if someone tripped over the SCSI cable?
> I was looking for a command that could be used to go out and search the
bus
> without having to reboot or power down the system. Something like
> drvconfig in Solaris or vgscan in HP or scsiha in SGI....anything in Linux
> that will allow me to recover/renegotiate the SCSI connection without
> having to reboot?
> TIA.
> -H
>
-
To unsubscribe from this list: send the line "unsubscribe linux-scsi" in
the body of a message to [EMAIL PROTECTED]