Last active
January 2, 2016 19:39
-
-
Save rafaelfoster/8351692 to your computer and use it in GitHub Desktop.
Scan for new disks on Host
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
# This command scan new hard disk drives on Linux Systems. | |
# this is useful when the host is on a Virtual Environment and you add new hard disks to it | |
ls /sys/class/scsi_host/ | while read host ; do echo "- - -" > /sys/class/scsi_host/$host/scan ; done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment