VMware Communities
radriaanse
Contributor
Contributor

failed to lock the file cannot open the disk

Hi,

I have a problem. I just converted my physical machine (lenovo Laptop, windows 8.1), with the vmware vcenter converter standalone. Everything worked fine, no problems, no errors.

But when I want to open the file in vmware on my Ubtunu machine (a.t.m. dual-boot with win8 on the same laptop), after a while it returns the error:

Failed to lock the file

Cannot open the disk '/media/remy/WD My Book/Laptop-Remy/Laptop-Remy.vmdk' or one of the snapshot disks it depends on.

Module DiskEarly power on failed.

Failed to start the virtual machine.

I don't know if has to do with Ubutntu (version 13.04), or with vmware workstation (10.0)

I hope some can help.

thanks in advantage,

remy adriaanse

36 Replies
rumeshfbi
Contributor
Contributor

I also had a same problem. (Problem came when I copy a file in the virtual machine (Win XP) to another virtual machine (Win 7). Then VMware Workstation got stuck & Task manager shows Disk process 100%. After couple of minutes my laptop over heat & power off. (i5 2nd gen - 8GB Ram). Then I power on VMs Win 7 vm show this error)

I delete 3 folders in my crashed virtual machine folder. All folders had inside M65027.lck like this files.

Then works fine.

Reply
0 Kudos
BSchor
Contributor
Contributor

... and it still works for Workstation 12.1.1 running Windows 10 x64.  Thanks for posting this easy fix.

Reply
0 Kudos
khoatranxd
Contributor
Contributor

HI,

Can you help me? In my VM's directory, there is no file with .lck extension.

The problem is the same with other people, that it failed to lock the file

Cannot open the disk '\home\User062\minhkhot\Documents\Virtual Machines\Ubuntu 64-bit\Ubuntu 64-bit.vmdk' or one of the snapshot disks it depends on.

Module 'Disk' power on failed.

Failed to start the virtual machine.

Thanks

Khoa

Reply
0 Kudos
vmware16v
Contributor
Contributor

Thank you! This worked for me too.

I deleted all the folders/files with the lck extension and the log files.

Note: My PC crashed when I was running this virtual machine and I believe this is why I couldn't boot the vm.

Thanks again!

Reply
0 Kudos
kaizerslawten
Contributor
Contributor

Thank you Bro, worked for me. Smiley Happy @YadiJafariYadiJafari !

Grateful.

Reply
0 Kudos
mbehmazia
Contributor
Contributor

Searched and deleted all ***.lck files, booted up the guest machine, worked like a charm. Thanks.

Reply
0 Kudos
vinigobbi
Contributor
Contributor

thank you very much, you solved my problem too.

Reply
0 Kudos
EB99
Contributor
Contributor

Thanks! I deleted folder ,ldk and it worked

Reply
0 Kudos
LMFDE
Contributor
Contributor

This fixed my problem also.  Thank you very much!

Reply
0 Kudos
BSmithw6
Contributor
Contributor

Thanks for the info. I deleted all the .ick and .log files and booted back up. I am running Blue Iris on this VM and have 60 gigs of clips that were being auto protected and eventually I ran out of space on my 256 gig SSD drive. I manually take snapshots now.

Thanks again. I looked high and low for the fix.

Reply
0 Kudos
Dj_07
Contributor
Contributor

pastedImage_0.png

If the above error occurs we can fix by deleting files from VM directory, Image as below,

pastedImage_1.png

Reply
0 Kudos
wqewqewqewq
Contributor
Contributor

this works for me

Reply
0 Kudos
antize1
Contributor
Contributor

Thanks! This fixed it for me.

Reply
0 Kudos
criscoff
Contributor
Contributor

Solved my problem also. Deleted all the lock folders and the machine restarted.

Reply
0 Kudos
ponnamarkandeya
Contributor
Contributor

VM started working fine after deleting .lck folders/files

Reply
0 Kudos
daymauler
Contributor
Contributor

This worked for me. Thanks

Reply
0 Kudos
Epsilon6
Contributor
Contributor

YOU made my DAY!!! THX!

..it worked for me as well..Thanks

Reply
0 Kudos