Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1K8XPP-000707-6h for qemu-devel@nongnu.org; Tue, 17 Jun 2008 05:23:23 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1K8XPL-0006zu-7i for qemu-devel@nongnu.org; Tue, 17 Jun 2008 05:23:21 -0400 Received: from [199.232.76.173] (port=50043 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1K8XPK-0006zr-EX for qemu-devel@nongnu.org; Tue, 17 Jun 2008 05:23:18 -0400 Received: from ulmo.vserver.softronics.ch ([62.2.182.230]:39624) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1K8XPK-0000P2-2z for qemu-devel@nongnu.org; Tue, 17 Jun 2008 05:23:18 -0400 Received: from [10.0.0.1] (91-65-170-225-dynip.superkabel.de [91.65.170.225]) by ulmo.vserver.softronics.ch (Postfix) with ESMTP id ECBF48C28E for ; Tue, 17 Jun 2008 11:23:15 +0200 (CEST) Message-ID: <4857827E.8060605@expires-20081212.gate.mooo.com> Date: Tue, 17 Jun 2008 11:23:10 +0200 From: Klaus Fuerstberger MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: [Qemu-devel] qemu-img: error while reading Reply-To: qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org 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