Hi
Trying to convert vhdx to qcow2. I'm trying a 400GB vhdx from hyperv. I use the following line for example:
qemu-img convert -O qcow2 LIN02-Home.vhdx vm-109-disk-2.qcow2
When doing so it goes through but then sometime during the process it returns this error:
qemu-img: error while reading sector 112918502: Input/output error
52G -rw-r--r-- 1 root root 52G Jan 6 12:44 vm-109-disk-2.qcow2
The above obviously is wrong as the vhdx is using 300GB of 400GB for website files.
Now I know I got this right before as a few months ago I transferred a few VMs also VHDx files but 20GB ones over and they worked with no issues whatsoever.
Just can't remember if I made any special changes to do so.
Also when I copy the VHDX back to hyperv server and mount it all works well so quite confused.
Anyone come across the above error and know how to fix it?
btw version is:
qemu-img version 2.4.1pve-qemu-kvm_2.4-17, Copyright (c) 2004-2008 Fabrice Bellard
Trying to convert vhdx to qcow2. I'm trying a 400GB vhdx from hyperv. I use the following line for example:
qemu-img convert -O qcow2 LIN02-Home.vhdx vm-109-disk-2.qcow2
When doing so it goes through but then sometime during the process it returns this error:
qemu-img: error while reading sector 112918502: Input/output error
52G -rw-r--r-- 1 root root 52G Jan 6 12:44 vm-109-disk-2.qcow2
The above obviously is wrong as the vhdx is using 300GB of 400GB for website files.
Now I know I got this right before as a few months ago I transferred a few VMs also VHDx files but 20GB ones over and they worked with no issues whatsoever.
Just can't remember if I made any special changes to do so.
Also when I copy the VHDX back to hyperv server and mount it all works well so quite confused.
Anyone come across the above error and know how to fix it?
btw version is:
qemu-img version 2.4.1pve-qemu-kvm_2.4-17, Copyright (c) 2004-2008 Fabrice Bellard