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

Linux SCSI (was Re: Solaris device tree question)





On Thu, 4 Feb 1999, Joseph S D Yao wrote:

> > # The script should normally be run at boot time or if the scsi
> > # configuration changes
> 
> Curious comment.  Do you ever re-configure your SCSI cards and devices
> while the system is still up - the only case where it would not require
> booting?  I suppose this could be true if you had "hot spare" RAID
> devices.  How well does that work?

Well, I have a "test bus" that I hang either a tape stacker/tape drive
pair, or a 4-bay full of tape drives, and do the 
	echo "scsi delete-single-device 0 0 1 0" > /proc/scsi/scsi
	echo "scsi delete-single-device 0 0 2 0" > /proc/scsi/scsi
	...
	echo "scsi add-single-device 0 0 1 0" > /proc/scsi/scsi
	echo "scsi add-single-device 0 0 2 0" > /proc/scsi/scsi
and then run the script.  Sometimes you get problems allocating
the st driver buffers, but usually it works okay...

Marc