On the same computer, sometimes it is unavoidable to install more than one virtual machine, storage space becomes the biggest problem, then how to solve the hard disk problem of virtual machine, VMware comes with the tool can solve this problem well, let's see how to establish a shared disk between VMware virtual machines?
1. Locate the Vmware-vdiskmanager.exe executable file on your native VMware installation directory.
My directory is (D:\Program Files (x86) \vmware Workstation\vmware-vdiskmanager.exe)
Then use the CMD terminal to execute the file to create the disk and specify the directory to be stored, such as:
2. Open the virtual machine, add the newly created disk, such as:
The hard drive has been added successfully, but you need to configure one more step to boot:
Find the directory of the hosts of your two virtual machines find the. vmx file, my file directory is in (D:\VMware\Redhat Cluster 5.8\cluster Node1\rhel Cluster node1.vmx)
Right-click with text to open at last add two lines
Disk.locking= "FALSE" (remember this one line only)
Scsi1:1.sharedbus= "Virtual"
Save, then can be turned on, at this time has realized the dual-machine sharing common this disk capacity.
How do I establish a shared disk between VMware virtual machines?