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
LVL 1
WolfAsked:
Who is Participating?
 
WolfConnect With a Mentor Author Commented:
Completed a full restore from the backups which solved the problem
0
 
stergiumCommented:
remove the lck file from the vm folder and try again. please feedback
0
 
Maen Abu-TabanjehNetwork Administrator, Network ConsultantCommented:
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
0
Improve Your Query Performance Tuning

In this FREE six-day email course, you'll learn from Janis Griffin, Database Performance Evangelist. She'll teach 12 steps that you can use to optimize your queries as much as possible and see measurable results in your work. Get started today!

 
WolfAuthor Commented:
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?
0
 
Maen Abu-TabanjehNetwork Administrator, Network ConsultantCommented:
0
 
Maen Abu-TabanjehNetwork Administrator, Network ConsultantCommented:
0
 
Andrew Hancock (VMware vExpert / EE MVE^2)VMware and Virtualization ConsultantCommented:
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?
0
 
WolfAuthor Commented:
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":  
0
 
Andrew Hancock (VMware vExpert / EE MVE^2)VMware and Virtualization ConsultantCommented:
The Backup is not still running?

You may have to delete the Helper, if you can?
0
 
Maen Abu-TabanjehNetwork Administrator, Network ConsultantCommented:
0
 
WolfAuthor Commented:
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
0
 
Andrew Hancock (VMware vExpert / EE MVE^2)VMware and Virtualization ConsultantCommented:
Is the VM Power-On ?
0
 
WolfAuthor Commented:
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
0
 
Andrew Hancock (VMware vExpert / EE MVE^2)VMware and Virtualization ConsultantCommented:
Can you revert, if the VM is OFF?
0
 
Maen Abu-TabanjehNetwork Administrator, Network ConsultantCommented:
0
 
WolfAuthor Commented:
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!
0
 
WolfAuthor Commented:
Full resotre from a seperate back of the virtual server resolved the problem
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.