Cloning a Virtual Disk
Cloning a Virtual Disk
Compute Space Needed for Clone
This function computes the space required (in bytes) to clone a virtual disk, after possible format conversion.vixError = VixDiskLib_SpaceNeededForClone(child.Handle(), VIXDISKLIB_DISK_VMFS_FLAT, &spaceReq);
![]()
VixDiskLib_SpaceNeededForClone() might not give accurate results, or could return VIX_E_INVALID_ARG, when used with thin provisioned disk type VIXDISKLIB_DISK_VMFS_THIN.Clone a Disk by Copying Data
This function copies data from one virtual disk to another, converting (disk type, size, hardware) as specified.vixError = VixDiskLib_Clone(appGlobals.connection, appGlobals.diskPath, srcConnection, appGlobals.srcPath, &createParams, CloneProgressFunc, NULL, TRUE);
Help us improve this information. Send feedback to [email protected].