Hi,
I am cloning a VM sitting on a Datastore based Disk Array. When I right click on vCenter GUI and clone, I could see clone operation is getting over soon and disk array receives 0x83 EXTENDED COPY(XCOPY).
But when I use PowerCLI New-VM -VM $VM -Name Clone -ResourcePool (Get-VMHost -vm $VM) command, it takes long time and I could observe array receives 0x89 SCSI COMPARE and WRITE(ATS)
All HardwareAccelerated Primitives are enabled in the vSphere ESXi
PS /> $AdvancedSettings = "DataMover.HardwareAcceleratedMove","DataMover.HardwareAcceleratedInit","VMFS3.HardwareAcceleratedLocking"
PS /> Get-VMHost hostname.domain.com | Get-AdvancedSetting -Name $AdvancedSettings
Name Value Type Description
---- ----- ---- -----------
DataMover.HardwareA… 1 VMHost
VMFS3.HardwareAccel… 1 VMHost
DataMover.HardwareA… 1 VMHost
PS />
Can you suggest how to clone a VM using PowerCLI with EXTENDED COPY(XCOPY).
Thank you advance