I am working on moving from a single free instance of ESXi to a single PVE server, using the same hardware.
As an interim step, I have installed PVE as a VM on the ESXi instance, and I am using a NFS share to import the VMs. The plan is to:
The import utility fails with the following error:
The Linux journal shows the following error:
I have repeated the import several times, and it always fails at exactly the same point. I have tried verifying the VMDK, and checking the NTFS filesystem, and both look good.
ESXi host is version 6.7 Update 3, PVE version is 8.2.
Note, I have purchased a community subscription, but have not applied it to the temporary PVE VM. I will apply the key to the final hardware PVE instance.
Any help would be most appreciated.
- Import all VMs from ESXi to the NFS volume, using the import utility in the PVE instance (VMDK converted to qcow2)
- Blow away ESXi from the physical hardware, and install PVE on the same hardware
- Import the qcow2 VMs into the new PVE instance on the physical hardware
The import utility fails with the following error:
Code:
qemu-img: error while reading at byte 591161842176: Input/output error
TASK ERROR: unable to create VM 107 - cannot import from 'esxi:ha-datacenter/HDD Datastore 1/smeg-files.smeghead.ca/smeg-files.smeghead.ca_1.vmdk' - copy failed: command '/usr/bin/qemu-img convert -p -n -f vmdk -O qcow2 '/run/pve/import/esxi/esxi/mnt/ha-datacenter/HDD Datastore 1/smeg-files.smeghead.ca/smeg-files.smeghead.ca_1.vmdk' zeroinit:/mnt/pve/nas/images/107/vm-107-disk-1.qcow2' failed: exit code 1
The Linux journal shows the following error:
Code:
pve esxi-folder-fuse[1083]: error handling request: cached read failed: error reading a body from connection: end of file before message length reached
Caused by:
end of file before message length reached
pvedaemon[566872]: VM 107 creating disks failed
pvedaemon[566872]: unable to create VM 107 - cannot import from 'esxi:ha-datacenter/HDD Datastore 1/smeg-files.smeghead.ca/smeg-files.smeghead.ca_1.vmdk' - copy failed: command '/usr/bin/qemu-img convert -p -n -f vmdk -O qcow2 '/run/pve/import/esxi/esxi/mnt/ha-datacenter/HDD Datastore 1/smeg-files.smeghead.ca/smeg-files.smeghead.ca_1.vmdk' zeroinit:/mnt/pve/nas/images/107/vm-107-disk-1.qcow2' failed: exit code 1
I have repeated the import several times, and it always fails at exactly the same point. I have tried verifying the VMDK, and checking the NTFS filesystem, and both look good.
ESXi host is version 6.7 Update 3, PVE version is 8.2.
Note, I have purchased a community subscription, but have not applied it to the temporary PVE VM. I will apply the key to the final hardware PVE instance.
Any help would be most appreciated.