Firstly, install scsitools package:
sudo apt install scsitools
Then run the command rescan-scsi-bus:
sudo rescan-scsi-bus
That’s it, your new virtual HDD has now been detected.
Another way would be to do it with a loop and without the need for that package:
for host inls /sys/class/scsi_host/
; do
echo "- - -" > /sys/class/scsi_host/${host}/scan;
done
Enjoy!
Sources: