Solution 1:

Use the command:

rescan-scsi-bus.sh --remove --issue-lip

to have this nice and tidy script handle the work for you.

Solution 2:

Try the following:

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

For the last command check which scsi controller you are using, host0 , host1 etc.