qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-devel] qemu-img: error while reading


From: Klaus Fuerstberger
Subject: [Qemu-devel] qemu-img: error while reading
Date: Tue, 17 Jun 2008 11:23:10 +0200
User-agent: Mozilla/5.0 (X11; U; Linux i686; de-AT; rv:1.8.1.13) Gecko/20080313 SeaMonkey/1.1.9 Mnenhy/0.7.5.0

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




reply via email to

[Prev in Thread] Current Thread [Next in Thread]