Thursday, January 16, 2014

Scan for a new disk in a Linux Virtual Machine

In Linux virtual machines, if we add a Raw mapped device(LUN) or a new disk, we need to scan the buses. Just like how we do in Windows by using "Disk Management"

echo "- - -" > /sys/class/scsi_host/host0/scan
echo "- - -" > /sys/class/scsi_host/host1/scan

echo "- - -" > /sys/class/scsi_host/host2/scan

No comments:

Post a Comment