Received: from eggs.gnu.org ([2001:4830:134:3::10]:43353) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VgXPp-0002uX-Ni for qemu-devel@nongnu.org; Wed, 13 Nov 2013 05:11:26 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VgXPh-000875-5r for qemu-devel@nongnu.org; Wed, 13 Nov 2013 05:11:17 -0500 Received: from mail-bk0-x22b.google.com ([2a00:1450:4008:c01::22b]:57961) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VgXPg-00086p-U8 for qemu-devel@nongnu.org; Wed, 13 Nov 2013 05:11:09 -0500 Received: by mail-bk0-f43.google.com with SMTP id mz13so212853bkb.2 for ; Wed, 13 Nov 2013 02:11:07 -0800 (PST) Date: Wed, 13 Nov 2013 11:11:03 +0100 From: Stefan Hajnoczi Message-ID: <20131113101103.GC30241@stefanha-thinkpad.muc.redhat.com> References: <20131112091735.10165.76015.malonedeb@soybean.canonical.com> <20131112091735.10165.76015.malonedeb@soybean.canonical.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20131112091735.10165.76015.malonedeb@soybean.canonical.com> Subject: Re: [Qemu-devel] [Bug 1250360] [NEW] qcow2 image logical corruption after host crash List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Bug 1250360 <1250360@bugs.launchpad.net> Cc: kwolf@redhat.com, qemu-devel@nongnu.org On Tue, Nov 12, 2013 at 09:17:34AM -0000, Blue wrote: Please post the qemu command-line (ps aux | grep qemu) for the affected VM. What kind of workload is accessing the disk? Guest OS and version? Please also confirm that nothing else is accessing the image file while the VM is running. It is not safe to use tools like qemu-img on the file while the VM has it open. > Image was qcow2, thin provisioned, created like this : > qemu-img create -f qcow2 -o cluster_size=2M imagename.img Interesting note, you are setting a custom cluster size. It should work but it's not the default configuration that is well-tested. > I can privately provide an image displaying the corruption. Please send a link to stefanha@redhat.com and kwolf@redhat.com. We can help you inspect the image to determine the nature of the corruption and what data can be restored. Stefan