Linux Scsi Bus Rescan

Page content

After adding disks to vmware clients or new luns to san, das services its useful to get the linux os to rescan the scsci devices.

echo "- - -" > /sys/class/scsi_host/host0/scan

That’s it. You can look for log messages at “dmesg” to see if it’s working. You can also look at /proc/scsi/scsi to see if the devices are there. There is also the “lsscsi” command that will show you the know devices plus the device entries that point to those devices (very usefull).