VMWARE - Cannot open the disk '/vm/folder/win2k3.vmdk''... Failed to lock the file.
Posted on 2009-05-05
Im having a bit of trouble with VMWARE (running on linux)
I sucessfully grew a partition from 4GB to 10GB using
vmware-vdiskmanager -x 10GB win2k3.vmdk
I logged into the virtual and i noticed I had 4GB C drive and 6 GB unallocated space... I then used DISKPART to extend the C Drive, but it said it couldnt extend the partition...
So i allocated the space and tried again... no joy
I then assigned a letter to the space... and now i cant log back into the virtual and the extension also failed!
So, what im now trying to do is add the vmdk to another fresh virtual, but its failing to run because it thinks the file is locked.
1. Searching for .lck and WRITELOCK files... but none exist
2. removing the vmdk from the system entirely so i can add it to a new virtual
3. copying the vmdk out fresh
none of these worked