From: Christoph Adomeit Subject: Growing qcow2 files during block migration ? Date: Thu, 23 Sep 2010 16:40:47 +0200 Message-ID: <20100923144047.GA5058@mp3.niederrhein.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii To: kvm@vger.kernel.org Return-path: Received: from space-ext.gatworks.de ([213.164.155.210]:52385 "EHLO mp3.niederrhein.de" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1752596Ab0IWOxp (ORCPT ); Thu, 23 Sep 2010 10:53:45 -0400 Received: from mp3.niederrhein.de (ado@mp3.niederrhein.de [127.0.0.1]) by mp3.niederrhein.de (8.14.3/8.14.3/Debian-5+lenny1) with ESMTP id o8NEelwf005222 for ; Thu, 23 Sep 2010 16:40:48 +0200 Received: (from ado@localhost) by mp3.niederrhein.de (8.14.3/8.14.3/Submit) id o8NEelhb005221 for kvm@vger.kernel.org; Thu, 23 Sep 2010 16:40:47 +0200 Content-Disposition: inline Sender: kvm-owner@vger.kernel.org List-ID: Hi, I love live migrations using the qemu-kvm block migration Feature (migrate -b) but I have a problem with it. Lets say my source machine has a qcow2 file with virtual size of 60 GB but only 2 GB are in use. So the qcow2 file only has a size of 2 GB. After block migration the resulting qcow2 file on the target machine has a size of 60 GB. Also the migration is quite slow because it seems to transfer 60 GB instead of 2 GB. Are there any workarounds, ideas/plans to optimize this ? Thanks Christoph