Link to home
Start Free TrialLog in
Avatar of Wolf
WolfFlag for United Kingdom of Great Britain and Northern Ireland

asked on

VMware "Failed to lock the file" when reverting back to Snapshot

Hello

We recieve the following error message when trying to revert a VM back to a Snapshot taken a few days ago

"A General system error occurred:  Failed to lock the file"

How do i resolve this and revert back to the snapshot?

Thanks

Andrew
ScreenHunter-02-Dec.-21-09.55.jpg
ScreenHunter-01-Dec.-21-09.55.jpg
Avatar of stergium
stergium
Flag of Greece image

remove the lck file from the vm folder and try again. please feedback
Avatar of Maen Abu-Tabanjeh
there is folder .lck created on the location the machine you need to delete it .. see here :

http://www.networknet.nl/apps/wp/archives/396
Avatar of Wolf

ASKER

Thanks for the quick response

I've stopped the virtual machine and checked the datastore but there are no .lck files or folders

When i try to revert to the snapshot with the VM running it fails and then stops the VM

If i try to revert to the snapshot with the VM powered off it just fails

Any further ideas?
That's a special Snapshot Created by a Third Party Backup Application, it's not designed to be Reverted to.

Leave well alone.

What Backup Application do you use?
Avatar of Wolf

ASKER

We use Netvault, but im not trying to revert back to the SNapshot that the backup created, im trying to revert to the one before it "20111220":  
The Backup is not still running?

You may have to delete the Helper, if you can?
Avatar of Wolf

ASKER

No, the backup finished before we tried to revert to the snapshot

Tried to delete the Helper but that fails as well, with the same error message
Avatar of Wolf

ASKER

Yes the VM will power on fine, but if we try to revert to the snapshot it fails and powers off the VM at the same time
Avatar of Wolf

ASKER

In that case they can't power on their VM, but we can, just can't revert it back to a previous snapshot.

If i try to revert while the VM is powered off it fails with exactly the same error message, but obviously doesn't do anything else as the VM is already powered off

We have a backup from before the snapshot was taken so are going to try and restore the entire VM from that - i'll let you know!
ASKER CERTIFIED SOLUTION
Avatar of Wolf
Wolf
Flag of United Kingdom of Great Britain and Northern Ireland image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of Wolf

ASKER

Full resotre from a seperate back of the virtual server resolved the problem