Created
January 16, 2018 10:08
-
-
Save TomyLobo/415c95a8f616870109e8cb80204d390f to your computer and use it in GitHub Desktop.
How to scan all SCSI hosts
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
for host in /sys/class/scsi_host/*; do echo "- - -" > "$host"/scan; done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment