VMware Communities
RurouniKarly
Contributor
Contributor

Error- Failed to lock the file

A couple months ago I got a new laptop and transferred everything over via migration. This is the first time I've tried to run my virtual machine since then, and I'm getting an error. I'm running macOS 10.14.6, VMware Fusion Professional Version 7.1.3, and Windows 7 in the virtual machine. Here is the error I am getting:

Failed to lock the file

Cannot open the disk '/Users/Carly/Documents/Virtual Machines.localized/Windows 7 x64.vmwarevm/Virtual Disk.vmdk' or one of the snapshot disks it depends on.

Module Disk power on failed.

Failed to start the virtual machine.

I'm not sure what I can do to fix this, and any help would be appreciated.

Reply
0 Kudos
6 Replies
asajm
Expert
Expert

Hi RurouniKarly

Check error module disk early power on failed

If you think your queries have been answered
Marking this response as "Solution " or "Kudo"
ASAJM
Reply
0 Kudos
wila
Immortal
Immortal

Hi,

On macOS 10.14.6 your VMware Fusion 7 will not work.

You can skip troubleshooting that.

Instead you will need VMware Fusion 11.

You can download it from here:

Download VMware Fusion | VMware

(The above has a link to a 30 day trial version of the latest VMware Fusion version that does work on macOS Mojave. I suggest to try before you buy. If all is OK you can change trial version by entering a license key. There is no need to re-install)

--

Wil

| Author of Vimalin. The virtual machine Backup app for VMware Fusion, VMware Workstation and Player |
| More info at vimalin.com | Twitter @wilva
Reply
0 Kudos
RurouniKarly
Contributor
Contributor

I successfully updated to a trial version of Fusion 11, but I am still getting the same error message.

Reply
0 Kudos
wila
Immortal
Immortal

Hi,

OK.. now that you have a VMware Fusion version that actually is able to run on 10.14.6 you can continue with the problem at hand.

Try what the other poster said.

With VMware Fusion shut down.

Open your VM bundle - (ctrl+click / right click) on the VM in Finder and select "Show Package Contents"

Then look if you see a file with file extension "lck"

If that's the case then delete that file.

Try again to start the VM.

If you still get the same error.

Reboot your host and try again.

If you still are getting the error, the go back to your VM, Open your bundle again and locate a file called "vmware.log", attach it to your reply here via the "Attach" link at the bottom right of your reply window.

--

Wil

| Author of Vimalin. The virtual machine Backup app for VMware Fusion, VMware Workstation and Player |
| More info at vimalin.com | Twitter @wilva
Reply
0 Kudos
RurouniKarly
Contributor
Contributor

I found the .lck file, deleted it, and rebooted my laptop. Unfortunately I'm still getting the error 😕

I've attached the VMware.log file

Reply
0 Kudos
wila
Immortal
Immortal

Hi,

Wasn't there a vmware.log file instead of a vmware-1.log file?

Asking because the last lock error in the -1.log file claims that the old .lck folder still exists.

2019-09-07T17:33:32.237-07:00| vmx| I125: FILE: FileLockWaitForPossession timeout on '/Users/Carly/Documents/Virtual Machines.localized/Windows 7 x64.vmwarevm/Virtual Disk.vmdk.lck/M03752.lck' due to another machine 'uuid=52-77-c6-3d-67-77-2f-e3-db-76-69-36-4e-06-af-73'

(Actually technically it is a lock folder with a lock file)

Another thing you can do, if you still have the old machine.

Fire it up.. make sure that the VM is shut down (with snapshots committed), shut down VMware Fusion and copy the whole VM to your new laptop.

--

Wil

| Author of Vimalin. The virtual machine Backup app for VMware Fusion, VMware Workstation and Player |
| More info at vimalin.com | Twitter @wilva
Reply
0 Kudos