Hi,
I need some clarification about the VixDisklib_Clone() function.
Is the function only intended to move a vmdk from a local host to a ESX?
Could I use that function also to simply create a copy of my vmdk on the ESX?
Thanks in advance.
Nico
You can use clone to copy from any format of VMDK to any other format. ESX ->local, Local->ESX or any other combination.
-Sudarsan
So ESX->ESX would be a combintion that works to?
Are there any special considerations when using clone() with a vmdk on the ESX as source?
While Clone can 'convert' ESX->ESX, there is no way in VDDK to connect an ESX to another ESX without involving the machine that is running the VDDK application. If this is what you need, you are better off using the VC's clone functionality as it would copy from ESX to ESX directly.
-Sudarsan
I actually want to just create a copy of a virtual disk on the same ESX.
When I do that I get an error that it could not find the file. From the logs it seems it triws to open the vmdk locally on the machine where I run my application.
Any thoughts?
After going around in a circle with VMware, I cannot find a supported, remote API for cloning/coping VMDKs on VMFS or NFS datastores. I updated this message: confirming sudarsan is only offering experimental, unsupported APIs with a known file locking bug as an alternative to the supported VDDK APIs.