risingflight
Enthusiast
Enthusiast

Failed to lock the file

Jump to solution

Hi All

I am unable to poweron one Windows Virtual Machine i am getting error. Failed to lock the file.
The server was having snapshots which i have also deleted. i have migrated the VM from one host to another host. I can see the message Virtual machine disks consolidation is needed. i have also clicked Consolidate but no luck, experts guide me.

0 Kudos
1 Solution

Accepted Solutions
kastlr
Expert
Expert

Hi,

check the directory for that VM if it still does contain a *.lck file.

This might be a stale file which could be deleted if you did check your environment that no other system or process actively uses that VM/vmdk

 

Regards,

Ralf 



Hope this helps a bit.
Greetings from Germany. (CET)

View solution in original post

0 Kudos
2 Replies
a_p_
Leadership
Leadership

One reason could be a backup server/backup proxy, which still has the VM's disk attached due to e.g. a failed backup.

André

0 Kudos
kastlr
Expert
Expert

Hi,

check the directory for that VM if it still does contain a *.lck file.

This might be a stale file which could be deleted if you did check your environment that no other system or process actively uses that VM/vmdk

 

Regards,

Ralf 



Hope this helps a bit.
Greetings from Germany. (CET)
0 Kudos