Drive information before adding a hard drive
Adding a hard disk to a virtual machine
Added after the discovery using fdisk-l information unchanged, the new hard disk is not recognized, try to restart the virtual machine hard disk will be recognized. If you do not want to restart, follow these steps:
View/proc/scsi/scsi File First
Use the command echo "SCSI add-single-device 2 0 2 0" >/proc/scis/scsi
# echo "scsi add-single-device W x y z" >/proc/scsi/scsi
The parameter values W, x, Y, Z are explained as follows:
W (host) is the host adapter ID, the first adapter is 0 (0)
X (channel) is the SCSI channel on the host adapter, the first channel is 0 (0)
Y (ID) is the SCSI identity of the device
Z (LUN) is the LUN number, the first LUN is 0 (0)
Use fdisk-l again to see that the new disk has been able to display the relevant information
Normal use after partition is formatted
Virtual machine vmware New Hard drive does not recognize the problem