No subject


Tue Nov 29 10:43:08 WST 2011


> If I plug a new diskdrive into a scsicontroller on a live system, how 
> do I get the drive to be identified (as /dev/sdx or such) without 
> rebooting the bloody box ?


echo "scsi add-single-device 0 0 1 0" > /proc/scsi/scsi


will reprobe Card 0, Channel 0, Device 1, Lun 0, and add it if it is
found.


Peter


> Is there any "nice" way under Linux to rescan the SCSI bus? 
> ie; Stick on/take
> off SCSI devices and rescan the SCSI bus without needing to reboot.
> 
> I've done it before by unloading/reloading the kernel module 
> for a SCSI driver,
> but this one is not a module, but compiled in...
> 


================================================================================================
                                     IMPORTANT INFORMATION

This message and any files transmitted with it are confidential and should be read only by those
persons to whom it is addressed.   
If you have received this message in error, please notify us immediately by way of reply. Please
also destroy and delete the message from your computer. Any unauthorised form of reproduction
of this message is strictly prohibited.

It is the duty of the recipient to virus scan and otherwise test the information provided before
loading onto any computer system.  
SEALCORP does not warrant that the information is free of a virus or any other defect or error.

SEALCORP is not liable for the proper and complete transmission of the information contained in
this communication, nor for any delay in its receipt.

Any views expressed in this message are those of the individual sender, except where the sender
specifically states them to be the views of SEALCORP.

================================================================================================



More information about the plug mailing list