From mboxrd@z Thu Jan 1 00:00:00 1970 From: Charles Duffy Subject: Re: Best choice for copy/clone/snapshot Date: Wed, 13 May 2009 12:19:11 -0500 Message-ID: <4A0B010F.8000602@messageone.com> References: <1242176905.15140.38.camel@iron.psg.net> <4A0A71C0.1060109@redhat.com> <1242229787.4004.9.camel@corn.betterworld.us> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit To: kvm@vger.kernel.org Return-path: Received: from main.gmane.org ([80.91.229.2]:51193 "EHLO ciao.gmane.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755610AbZEMRTJ (ORCPT ); Wed, 13 May 2009 13:19:09 -0400 Received: from list by ciao.gmane.org with local (Exim 4.43) id 1M4I6n-0002aV-B3 for kvm@vger.kernel.org; Wed, 13 May 2009 17:19:09 +0000 Received: from 143.166.197.6 ([143.166.197.6]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 13 May 2009 17:19:09 +0000 Received: from Charles_Duffy by 143.166.197.6 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 13 May 2009 17:19:09 +0000 In-Reply-To: <1242229787.4004.9.camel@corn.betterworld.us> Sender: kvm-owner@vger.kernel.org List-ID: Ross Boylan wrote: > Or do you mean I should back each virtual disk with an LVM volume? Yes, this option is what was meant. > That does seem cleaner; I've just been following the docs and they > use regular files. They say I can't just use a raw partition, but > maybe kvm-img -f qcow2 /dev/MyVolumeGroup/Volume10 ? While new versions of qcow2 have some extensions that let the last-written sector be tracked for use on device-backed partitions, the expectation is that you'll (really) just use the raw partition; qcow2 more than takes back the performance gain from getting your host filesystem out of the loop. > I'm not sure how growing the logical > volume would interact with qcow... Right -- folks doing this route go raw rather than qcow, so it's just a matter of resizing the partitions / filesystems within the guest.