how to scan disk after add hardisk from virtual machine control

Show host from os disk 
-> ls /sys/class/scsi_host/ 
host0  host1  host2

Scan for each host 
-> echo "- - -" > /sys/class/scsi_host/host0/scan
-> echo "- - -" > /sys/class/scsi_host/host1/scan
-> echo "- - -" > /sys/class/scsi_host/host2/scan

lsblk will show the new disk




Posting Komentar

Lebih baru Lebih lama