On ESX server (v5.0) ,I have a VM named "TEST_VM" and it is CBT enabled. Say I had a snapshot on VM already, then I created a another one and query changed disk blocks by calling QueryChangedDiskAreas().
This worked fine and returned correct blocks.
After this when I reverted my VM to first snapshot and again tried to call QueryChangedDiskAreas() method.
It failed with following error:
dynamicType = <unset>,
dynamicProperty = (vmodl.DynamicProperty) ,
msg = 'Error caused by file /vmfs/volumes/52b3937c-82411146-ae96-00101869d820/TEST_VM/TEST_VM-000005.vmdk',
faultCause = <unset>,
faultMessage = (vmodl.LocalizableMessage) ,
file = '/vmfs/volumes/52b3937c-82411146-ae96-00101869d820/TEST_VM/TEST_VM-000005.vmdk'
How to solve this issue?