qemu-img: error while reading
Hello,
as I already posted in the forum, I'm not able to convert a qcow2 image to raw format. See http://qemu-forum.ipi.fi/viewtopic.php?f=4&t=4391
# qemu-img info catinst_c.img image: catinst_c.img file format: qcow2 virtual size: 70G (75161927680 bytes) disk size: 30G cluster_size: 4096
I try to convert the image:
# qemu-img convert -f qcow2 -O raw catinst_c.img /tmp/catinst_c.raw qemu-img: error while reading
The resulting image is not completly converted:
# qemu-img info /tmp/catinst_c.raw image: /tmp/catinst_c.raw file format: raw virtual size: 70G (75161927680 bytes) disk size: 9.7G
This is always reproducable.
qemu-img version 0.9.1 from the kvm-70 package from
http://mesh.dl.sourceforge.net/sourceforge/kvm/kvm-70.tar.gz
The image is an NTFS one, with no filesystem errors. But sometimes the image gets corrupt (I dont know why?), and I have to use my backup. Maybe the reason for this is some error in the image and also the reason for failing to convert?
How can I repair/convert this image?
Many thanks!
Klaus