VMware Cloud Community
risingflight
Enthusiast
Enthusiast
Jump to solution

Failed to lock the file

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.

Reply
0 Kudos
1 Solution

Accepted Solutions
kastlr
Expert
Expert
Jump to solution

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. (CEST)

View solution in original post

Reply
0 Kudos
2 Replies
a_p_
Leadership
Leadership
Jump to solution

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é

Reply
0 Kudos
kastlr
Expert
Expert
Jump to solution

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. (CEST)
Reply
0 Kudos