From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:58481) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TMb02-0003R6-DP for qemu-devel@nongnu.org; Fri, 12 Oct 2012 04:53:46 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TMazw-0007HH-Ij for qemu-devel@nongnu.org; Fri, 12 Oct 2012 04:53:42 -0400 Received: from mail.stepping-stone.ch ([194.176.109.206]:33030) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TMazw-0007H9-CM for qemu-devel@nongnu.org; Fri, 12 Oct 2012 04:53:36 -0400 Message-ID: <1350032009.4696.84.camel@storm> From: Tiziano =?ISO-8859-1?Q?M=FCller?= Date: Fri, 12 Oct 2012 10:53:29 +0200 In-Reply-To: <20121012083315.GB14822@stefanha-thinkpad.redhat.com> References: <1349962403.4696.51.camel@storm> <20121012083315.GB14822@stefanha-thinkpad.redhat.com> Content-Type: text/plain; charset="UTF-8" Mime-Version: 1.0 Content-Transfer-Encoding: quoted-printable Subject: Re: [Qemu-devel] Silent filesystem/qcow2 corruptions with qemu-kvm-1.0 and 1.1.1 Reply-To: tiziano.mueller@stepping-stone.ch List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Stefan Hajnoczi Cc: qemu-devel Am Freitag, den 12.10.2012, 10:33 +0200 schrieb Stefan Hajnoczi: > On Thu, Oct 11, 2012 at 03:33:23PM +0200, Tiziano M=C3=BCller wrote: > > Checking the image using `qemu-img check` then gives something like > > this: > >=20 > > ERROR OFLAG_COPIED: offset=3D3bc30000 refcount=3D1 > > ERROR offset=3Dc7e331: Cluster is not properly aligned; L2 entry > > corrupted. >=20 > Is any other program accessing the qcow2 image on the host while the VM > is running? > For example, are you running qemu-img on the image while the VM is > running? On some VMs we tried to extract filesystem snapshots at runtime: qemu-img convert -s snapshot-id original.qcow2 snapshot.qcow2 (yes, that's not consistent, we're switching to external snapshots). But that should open the image read-only, right? Other operations where the qemu-monitor-commands "savevm" and "delvm".=20 Although: we created a new qcow2 and even in that the filesystem got corrupted without any of the above actions. So we're pretty confident that those operations are not the sole cause. --=20 stepping stone GmbH Neufeldstrasse 9 CH-3012 Bern Telefon: +41 31 332 53 63 www.stepping-stone.ch tiziano.mueller@stepping-stone.ch