Symptoms:
When you execute the QueryChangedDiskAreas
API call with a snapshot parameter, and with an offset of 0
and a changeId
of *
, the call returns a FileFault
error similar to:
2012-09-04T11:56:17.846+02:00 [03616 info 'Default' opID=52dc4afb] [VpxLRO] -- ERROR task-internal-4118 -- vm-26512 -- vim.VirtualMachine.queryChangedDiskAreas: vim.fault.FileFault:
--> Result:
--> (vim.fault.FileFault) {
--> dynamicType = <unset>,
--> faultCause = (vmodl.MethodFault) null,
--> file = "/vmfs/volumes/4ff2b68a-########-####-########dc/VM/VM.vmdk",
--> msg = "Error caused by file /vmfs/volumes/
4ff2b68a-########-####-########dc
/VM/VM.vmdk",--> }
QueryChangedAreaDisks
on a CBT-enabled virtual machine which has been migrated to a different datastore. Occasionally, this issue has also been observed on CBT-enabled virtual machines which have not been migrated.ReconfigVM_Task
method.VirtualMachineConfigSpec
parameter to set changeTrackingEnabled
to false
.<spec>
<changeTrackingEnabled>false</changeTrackingEnabled>
</spec>
setChangeTrackingEnabled
API call.VirtualMachineConfigSpec spec = vimPortType.getVMConfigSpec(vmMor);
spec = new VirtualMachineConfigSpec();
spec.setChangeTrackingEnabled(false);
boolean reconfiguration = vimPortType.reconfigVM(vmMor, spec);
true
.QueryChangedDiskAreas
with the current snapshot.