Wednesday, May 21, 2008

Error Vmware Failed to lock the file

Problem Description:
---------------------------

If you use vmware then while opening it it failed with following messages,

Cannot open the disk '/home/Arju/win_vmware_image/Windows XP Professional 2.vmdk' or one of the snapshot disks it depends on.
Reason: Failed to lock the file.


The problem can happen with many reasons. Try to solve one by one.

Solution of the Problem:
------------------------------

1)Is you vmware is improperly shutdown? If so look at the directory where vmware resides. Search file there named extention .WRITELOCK. Delete the writelock file and try to start the vmware. If you succeed then no further steps necessary.

2)Do you point to your vmware to another location or add another disk which is not currently available. If so, under poweroff menu >select edit virtual mechine settings >You will see the list of hardware. If you suspect the hardware/disk is not currently available select it and then remove it. Now try to start your vmware.

3)Look for other vmware process or any software is running and whether it use your current existing disk. If so shutdown that process and try to start your vmware.

1 comment:

  1. Thanks It worked for me the 1st solution.

    ReplyDelete