With that error it sounds like you're trying to convert a powered-on virtual machine to another format. Can you provide more information on what you have and what exactly you're trying to do here?
Is seems as though the problem is the lock files. Could you please confirm what you are trying to do P2V or V2V ?
can you attache VMware Converter log here to do further investigation .
Might be some of this reasons behind the issue you have mention
– Shut down the VM before conversion
– Try the live conversion by Powered-on machine
– The VM was not shut down safely, restart and shut down it properly
– Delete all .TMP files associated with the virtual disk
– Delete all .WRITELOCK files associated with the virtual disk
– Delete all .LCK folders associated with the virtual disk
This is because of rights of share folder and used credentials, could you describe the share rights and used user rights?
As fast solution try to give to share "everyone" full control and try again.
I was experiencing the same issue. The "Unable to obtain the lock on virtual disks" error occured after selecting the source machine and during the "retrieving source machine information" phase.
POCEH had the correct solution for me. My VM datastore is located in an NFS share with restricted access except for my ESXi hosts. After granting permission to the machine running the converter, I was able to complete the conversion setup and the conversion is currently running. Thanks for your help!
I'm recieving the same notification whilst trying to P2V convert a server.
The same settings did work on a Client(P2V as a test), but when i use the powered on option on a windows 2008 server i also recieve the 'Unable obtain the lock on virtual disks'.
The server was up and running while recieving the notification.
Thanks in advance!
Check (and fix) permissions on shared folder. For less troubles add full access to everyone for share.
Thanks for the reply!
The permissions on the shared (destination) folder, were changed to full access.
Yet i still recieve the same notification.
Any other suggestions?
For better investigation upload log bundle.
Otherwise try to run UI as administrator.
I'm getting the same message. Also running Converter 6.2.
I'm attempting to convert an ESXi 5.1 VM to VMPlayer v7/12. The VM is powered off on the ESXi server. I'm running the Convert GUI on a windows machine, logged in as Administrator. I'm copying the VM to a Windows network share.
There are no lock files, or anything else that looks out-of-place on the datastore. I'm attaching the log files, and a screen shot of the datastore.
Update: I ran it once more, attempting to copy to a local disk, and this time it worked. This is very strange, as I'm logged in (and running the Converter) as Administrator on the Windows box, and I have full permissions on the network share. (I created and deleted files in Windows Explorer, just to be 100% sure.) But something about it seems to be messing up the conversion job.
It's all about permissions of share:
2018-01-21T23:01:01.628-07:00 warning vmware-converter-worker [Originator@6876 sub=Default] [,0] FILE: FileIO_Lock on '\\JMB-6\VM Images\esx-Win10-test (converted)\esx-Win10-main\esx-Win10-main.vmdk' failed: Lock timed out
I've suggest to add full permissions to everyone on "\\JMB-6\VM Images", also check for sufficient volume securities if share is on NTFS.
I will also chime in that this is not working for me either.
I have added Everyone and VM_Conv_SA users to the share with full rights.
The job is logged in as Administrator on both client and server.
It creates a folder for the VM on the server, creates a .vmdk and a .vmx file
and a folder labelled, testpc.vmdk.lck. Inside are two .lck files. Then the job
exits with "Unable to obtain the lock on virtual disks". The above mentioned files
are then deleted.
The remote system is a powered on windows 10 PC with a locally deployed agent.
Well,5 hours of $#@% with this. I could have rebuilt it from scratch by now.