unix

How do I rescan the SCSI bus on my Linux server without rebooting?

To rescan the SCSI bus and re-register all devices found, you need to do the following:

mylinuxhost# echo “- – -” > /sys/class/scsi_host/host#/scan

Replace the “#” with the number of the SCSI bus to be rescanned.

Ex. mylinuxhost# echo “- – -” > /sys/class/scsi_host/host0/scan
mylinuxhost# echo “- – -” > /sys/class/scsi_host/host1/scan

Click to comment

Leave a Reply

Your email address will not be published. Required fields are marked *

To Top