From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:34123) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SXsh5-0003Vs-LJ for qemu-devel@nongnu.org; Fri, 25 May 2012 07:28:35 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SXsh0-0000Ae-Nt for qemu-devel@nongnu.org; Fri, 25 May 2012 07:28:31 -0400 Received: from mail-lpp01m010-f45.google.com ([209.85.215.45]:60643) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SXsgz-0000AN-SG for qemu-devel@nongnu.org; Fri, 25 May 2012 07:28:26 -0400 Received: by lahc1 with SMTP id c1so682718lah.4 for ; Fri, 25 May 2012 04:28:23 -0700 (PDT) MIME-Version: 1.0 In-Reply-To: <4FBCE201.3070009@msgid.tls.msk.ru> References: <4FBCE201.3070009@msgid.tls.msk.ru> Date: Fri, 25 May 2012 12:28:23 +0100 Message-ID: From: Stefan Hajnoczi Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Subject: Re: [Qemu-devel] The image size of instance VM keeps growing List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Michael Tokarev Cc: =?Big5?B?IkpvbmFoLld1Ladkp2erai2s46hztW+uabOhIg==?= , "qemu-devel@nongnu.org" , =?Big5?B?IkNoYXJsZXMuVHNhaS29srJNrvwtrOOoc7VvrmmzoSI=?= On Wed, May 23, 2012 at 2:11 PM, Michael Tokarev wrote: > On 23.05.2012 16:57, Stefan Hajnoczi wrote: > [] >> However, the qcow2 file should not grow much beyond its virtual disk >> size. =A0So if you find the qcow2 is 3G but the virtual disk size is 1G, >> then there is a bug. =A0But from what you've posted so far I suspect the >> guest is simply writing to the disk. > > Dont't forget about possible snapshots inside the qcow2 file. =A0So it > is quite well possible to have qcow2 file sized much larger than virtual > disk size :) Right. I said this earlier: "(assuming you are not using qcow2 snapshots where the file can grow arbitrarily)"