C:\Program Files\VMware\VMware OVF Tool>ovftool.exe -- noSSLVerify vi://<ESXi host/VM path> "<Target file path (local)>" shows the following:Enter login information for source vi://<ESXi host>Username: rootPassword: ****************Opening VI source: vi://root@<ESXi host/VM path>Opening OVF target: <Target file path (local)>Writing OVF package: <Target file path/filename.ovf>Disk progress: 24%Removing temporary objects and filesTransfer FailedError: Execution abortedDeleting directory tree below: <Target file path (local)>Completed with errors/var/run/log/hostd.log,we see the following messages:Db(167) Hostd[2099496] [Originator@6876 sub=Vigor.Vmsvc.vm:<Datastore file path for the VM/VMname.vmx] Is device present on HBA message: Device 'scsi0:6' does not exist.scsi0:0.fileName = "VMname_6.vmdk"scsi0:1.fileName = "VMname_8.vmdk"scsi0:2.fileName = "VMname_7.vmdk"scsi0:3.fileName = "VMname_1.vmdk"scsi0:4.fileName = "VMname_2.vmdk"scsi0:5.fileName = "VMname_3.vmdk"scsi0:8.fileName = "VMname_4.vmdk"VMname.vmdk"VMware vSphere 8.x
The VM files on the datastore show orphaned disks which indicates the disk/device references were deleted/manipulated. OVFTool then failed to export the VM as an OVF as the disk exists but not the device.
To resolve the issue, one of the following options can be carried out: