From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:32949) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YfPsj-0001az-Sw for qemu-devel@nongnu.org; Tue, 07 Apr 2015 05:33:18 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YfPsi-0004sM-Jj for qemu-devel@nongnu.org; Tue, 07 Apr 2015 05:33:17 -0400 Received: from mx1.redhat.com ([209.132.183.28]:56218) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YfPsi-0004sI-DR for qemu-devel@nongnu.org; Tue, 07 Apr 2015 05:33:16 -0400 Date: Tue, 7 Apr 2015 11:33:12 +0200 From: Kevin Wolf Message-ID: <20150407093312.GF4635@noname.str.redhat.com> References: <201504031804076871637@sangfor.com.cn> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <201504031804076871637@sangfor.com.cn> Subject: Re: [Qemu-devel] [Snapshot Bug?]Qcow2 meta data corruption List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: leijian Cc: qemu-devel , stefanha Am 03.04.2015 um 12:04 hat leijian geschrieben: > Hi all, > > There was a problem about qcow2 image file happened in my serval vms and I could not figure it out, > so have to ask for some help. > [...] > I think the problem is relate to the snapshot create, delete. But I cant reproduce it . > Can Anyone give a hint about how this happen? How did you create/delete your snapshots? More specifically, did you take care to never access your image from more than one process (except if both are read-only)? It happens occasionally that people use 'qemu-img snapshot' while the VM is running. This is wrong and can corrupt the image. Kevin