A virtual machine power-on task hangs at 33% and fails with the user interface error: "failed, another task is in progress". A virtual machine consolidation status alert is simultaneously active. The virtual machine's vmware.log reports the VMX process terminating after failing to initialize disks with the following errors: DISKLIB-CTK: Could not open change tracking file "<REDACTED_FILE_PATH>/<REDACTED_HOSTNAME>-ctk.vmdk": Change tracking invalid or disk in use. OBJLIB-FILEBE: Error creating file '<REDACTED_FILE_PATH>/<REDACTED_HOSTNAME>-ctk.vmdk': 3 (The file already exists). Caught signal 15
VMware vSphere ESXi 8.0.x
VMware vCenter Server 8.0.x
Stale or corrupted Changed Block Tracking (CBT) files (-ctk.vmdk) from a previous snapshot or backup failure prevent the ESXi host from acquiring exclusive storage locks to initialize the virtual disks.
Establish an SSH session to the ESXi host where the affected virtual machine is registered.
Verify that no active third-party backup appliance is holding a lock on the base disk: vmfsfilelockinfo -p /vmfs/volumes/<DATASTORE_NAME>/<REDACTED_HOSTNAME>/<REDACTED_HOSTNAME>-flat.vmdk
Navigate to the virtual machine's datastore directory.
Create a temporary folder and move the conflicting change tracking files out of the working path: mkdir temp mv *-ctk.vmdk temp
Create a backup of the virtual machine's configuration file, then edit the .vmx file to temporarily disable CBT. Change the following entry for all attached disks: ctkEnabled = "FALSE"
Identify the virtual machine's VMID: vim-cmd vmsvc/getallvms
Reload the virtual machine configuration to ensure the hostd agent registers the .vmx changes: vim-cmd vmsvc/reload <VMID>
Power on the virtual machine via the vSphere Client.