SCSI scanning on a running Linux system
Posted by Sven Koester, Last modified by Andre Kuehnemund on 10 May 2011 11:51

In normal operation, a Linux host is not able to rescan for generic SCSI devices excepts at boot time. There is a trick to force a rescan on Linux machines: the idea is to remove (or at least attempt to remove) the dynamic generic SCSI driver.

On Linux, execute:

modprobe -r sg
modprobe sg

The first command will attempt to remove the driver (and fail since the driver is in use), the second will reload the driver (if unloaded before) and rescan for generic SCSI devices.

(792 vote(s))
Helpful
Not helpful

Comments (0)
Post a new comment
 
 
Full Name:
Email:
Comments:
CAPTCHA Verification 
 
Please enter the text you see in the image into the textbox below (we use this to prevent automated submissions).