Skip to content

Instantly share code, notes, and snippets.

@alexclifford
Created March 28, 2014 00:25
Show Gist options
  • Save alexclifford/9822323 to your computer and use it in GitHub Desktop.
Save alexclifford/9822323 to your computer and use it in GitHub Desktop.
Rescan scsi bus on VM to add new HDD without rebooting
#!/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