[Prev][Next][Index][Thread]

Re: hot-swappable SCSI



On Mon, 17 Feb 1997, Ira Abramov wrote:

> 
> 
> I don't worry about compatability with both OSs/machines (or should I?)
> but I am concerned about how I can attach/detach it freely. I know it is
> possible to detach the tape from the DigiUnix and reattach it while the
> machine is up, but what about a PC platform? most hardware is only
> recognized at boot time, and rebooting the server before backups is out of
> the question. is there any way a Linux can reread the SCSI bus without
> having to umount all the disks etc.?
> 
the scsi programming howto has more info on this in section 4.3.1, but 
simply put:
echo "scsi add-single-device 0 0 1 0" > /proc/scsi/scsi
will add a scsi device to adapter 0 on channel 0 at ID 1 and lun 0
echo "scsi remove-singe-device 0 0 1 0" > /proc/scsi/scsi
will take it out.



-------------------rstone@accesscom.com--------------------
Unix System Administrator -- Access Internet Communications
     for PGP key send mail with subject "send pgp key"


References: