VMWare Disk Issue

The issue we are trying to fix is that the VM was not sharing the disk devices, there are some parameters needed to be set

 

The fix:

– Make sure the VM is down
– Go to Edit Settings -> Options -> Advanced / General -> Press the “Configuration Parameters” button.
– Search the list for the name: “ctkEnabled” and change the value to “false”.
– Search the list for the names: “scsi0:0.ctkEnabled”, “scsi0:1.ctkEnabled”, “scsi1:0.ctkEnabled”, etc…. and set these values to “false”. Do this for every disk attached to this VM!

Last step is to remove the reference to the change tracking file from the vmdk descriptors. This should be done for each and every disk

– Enable SSH on you ESXi host and login through SSH
– Go to the directory of the VM that holds the VMDK file. If your VM has multiple VMDKs, maybe spread over multiple datastores, you’ll have to repeat this for each VMDK.
– List all VMDK files:  ls -l *.vmdk

– Check which VMDK file still has a reference to the change tracking files (CBT): grep changeTrackPath VMName.vmdk

– You should see something like this: changeTrackPath=”SPVSQ001-ctk.vmdk”

– If the references is still present, edit the vmdk file using the vi editor and place a # at the start of the changeTrackPath line. (Go to the line, press i for insert, type #, press <ESC>:wq to save the VMDK).

– Check the other VMDKs as well but leave the “-flat” and “-ctk” vmdk files alone.

– Now try to Power On the VM.