Created
March 28, 2014 00:25
-
-
Save alexclifford/9822323 to your computer and use it in GitHub Desktop.
Rescan scsi bus on VM to add new HDD without rebooting
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash | |
| echo "- - -" > /sys/class/scsi_host/host#/scan |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment