Today a one of my customers encountered an error when trying to revert to an snapshot.
They recived the following error:
“error encountered trying to restore cpu state from file /vmfs/volumes/…./xxxxx.vmsn”
After a bit of googleing if came up with the problem.
The error occures when a VM with snapshots (taken when VM is PoweredOn) is migrated or moved to a host with another CPU stepping – and the VM is reverted to ine of theise snapshots.
To correct the problem you have to complete the following steps:
- Revert to the snapshot you want to use.
- Make sure the VM is powered off.
- Edit the VM’s .vmx file and remove the line “checkpoint.vmstate”
- Power on the VM
- Delete the snapshot
If you still want a snapshot of the VM in it’s current state
- Shutdown the VM
- When its powered off create a new snapshot
- Power on the VM again to start work with it
This solution has to be applied to all VM’s with snapshots taken while the VM was powered on.
I have been looking for a solution to this problem for months. I tried a number of things but none of them worked. This is the only one that saved the day for me.
Thank you again,
Rick Montalvo
I’m glad that my post helped you to solve your problem.
Anders.