2 Replies Latest reply on Apr 17, 2019 7:33 PM by Terrs2017

    How to copy Thin Provisioned Disk(vmdk file) from one data store to another through vCenter Server?

    atoka Novice

      Hello all,

       

      I am trying to find a way to copy thin provisioned disk (vmdk file) from one data store to another through vCenter Server preserving its thin provision disk type.

      I tried using FileManager->CopyDatastoreFile_Task method, but the issue is that this copy method coverts the disk to thick provision eager zeroed. There is no parameter to specify disk type.

      I also tried to use VirtualDiskManager->CopyVirtualDisk_Task which has disk type as parameter, but found out that this method is only available only when connected directly to ESXi host.

       

      Is there any API similar to CopyVirtualDisk_Task when connected to vCenter Server? Or any API which can copy thin provisioned disk?

       

      Thank you.