VMware Communities
nycvm2008
Contributor
Contributor
Jump to solution

Failed to lock the file

i upgraded my vm to fusion 2.0 and now i m unable to open my machine (windows xp), i get this error "Failed to lock the file" see attached picture

i cannot find any "locked" flies in my machine's folder

thanks in advance!

Tags (1)
Reply
0 Kudos
1 Solution

Accepted Solutions
bgertzfield
Commander
Commander
Jump to solution

OK. These lines in your VMX file:

Mar 04 09:56:13.083: vmx| DICT ide0:1.fileName = Imaged from Parallels VM-000003.vmdk

Mar 04 09:56:13.083: vmx| DICT ide0:1.present = TRUE

Mar 04 09:56:13.083: vmx| DICT ide0:1.redo =

definitely show that somehow, you attached a SCSI VMDK file to an IDE disk.

Please edit your .vmx file (see the instructions at A Beginners Guide to VMware Fusion) and remove those lines, or change the line:

ide0:1.present = TRUE

to

ide0:1.present = FALSE

View solution in original post

Reply
0 Kudos
13 Replies
borisdusek
Expert
Expert
Jump to solution

Try restarting your Mac.

Reply
0 Kudos
nycvm2008
Contributor
Contributor
Jump to solution

yes, i did and i deleted and empty-trash any .lck files in my VM folder before launching fusion

those .lck files reappear when i open the .vmx file

Reply
0 Kudos
WoodyZ
Immortal
Immortal
Jump to solution

The presence of .lck folder(s)/file(s) is normal and expected expected when the Fusion Application is open and or a Virtual Machine is running. There are times that the .lck folder(s)/file(s) can become orphaned and as such can cause the error you received in your OP. If after closing Fusion there any .lck folder(s)/file(s) remaining they can be deleted. Note: This assume one is not running a Virtual Machine in Headless Mode and that there are no vmware-vmx processes running.

Reply
0 Kudos
nycvm2008
Contributor
Contributor
Jump to solution

thanks, i only have one VM on my mac

Reply
0 Kudos
bgertzfield
Commander
Commander
Jump to solution

Hi nycvm2008,

This bug was fixed in VMware Fusion 2.0.1 and later. Please grab the latest VMware Fusion (it's a free upgrade) from:

http://www.vmware.com/mac

Thanks,

Ben

Reply
0 Kudos
nycvm2008
Contributor
Contributor
Jump to solution

thanks Ben

i did and still have this new error message

Reply
0 Kudos
bgertzfield
Commander
Commander
Jump to solution

i did and still have this new error message

That looks like the virtual machine was changed from a SCSI disk to an IDE disk. Did you try to reconfigure the virtual machine?

Please post your vmware.log file.

At worst, you'll need to re-import your Parallels virtual machine, but hopefully that's not necessary and we can just change the disk back to SCSI.

Reply
0 Kudos
nycvm2008
Contributor
Contributor
Jump to solution

my parallels file is long gone! Smiley Happy

my issue started last november when i upgraded to 2.0. After returning from sleep, my imac HD failed while VM was running with other mac app's

then after restoring my backup, my lacie HD failed with my original parallel files. we all frustrations gone, i m just getting back to my VM, i dont really remember what i did back then

thanks again!

Reply
0 Kudos
nycvm2008
Contributor
Contributor
Jump to solution

my log file is not attaching??

Reply
0 Kudos
bgertzfield
Commander
Commander
Jump to solution

my log file is not attaching??

Try again..

Reply
0 Kudos
nycvm2008
Contributor
Contributor
Jump to solution

changed browser

Reply
0 Kudos
bgertzfield
Commander
Commander
Jump to solution

OK. These lines in your VMX file:

Mar 04 09:56:13.083: vmx| DICT ide0:1.fileName = Imaged from Parallels VM-000003.vmdk

Mar 04 09:56:13.083: vmx| DICT ide0:1.present = TRUE

Mar 04 09:56:13.083: vmx| DICT ide0:1.redo =

definitely show that somehow, you attached a SCSI VMDK file to an IDE disk.

Please edit your .vmx file (see the instructions at A Beginners Guide to VMware Fusion) and remove those lines, or change the line:

ide0:1.present = TRUE

to

ide0:1.present = FALSE

Reply
0 Kudos
nycvm2008
Contributor
Contributor
Jump to solution

WOW thank you so much Ben!

one other little thing, the 2nd hard disk on my VM disappeared for some reasons

should make any changed more changes, see attachment

thanks again, mark

Reply
0 Kudos