String srcPath = VmConfigUtil.getVmdkPath(vmdk);
String dstPath = VcFileManager.getDsPath(this, dstDs, diskName);
logger.info("Copying disk '" + srcPath + "' to '" + dstPath + "'");
// By default it would use settings from the parent disk,
// verified for sparse & thin provisioned disks.
VirtualDiskSpec spec = null;
VcFileManager.copyVirtualDisk(srcPath, srcVm.getDatacenter(),
dstPath, getDatacenter(), spec);
attachVirtualDisk(deviceId,
VmConfigUtil.createVmdkBackingInfo(this, dstDs, diskName, diskMode, null, null),
false, null);