Received: from mx3.redhat.com (mx3.redhat.com [172.16.48.32]) by int-mx1.corp.redhat.com (8.13.1/8.13.1) with ESMTP id m3F7md0v014308 for ; Tue, 15 Apr 2008 03:48:39 -0400 Received: from positron.souja.net (ip-208-83-233-93.razorservers.com [208.83.233.93] (may be forged)) by mx3.redhat.com (8.13.8/8.13.8) with ESMTP id m3F7mLwn018363 for ; Tue, 15 Apr 2008 03:48:22 -0400 Received: from [76.217.209.45] (helo=[192.168.1.160]) by positron.souja.net with esmtpsa (TLS-1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.63) (envelope-from ) id 1Jlfts-0003C6-Uz for linux-lvm@redhat.com; Tue, 15 Apr 2008 07:48:21 +0000 Message-Id: <234BF196-FE40-4B32-AC84-FB336EC830DA@engineyard.com> From: Jayson Vantuyl In-Reply-To: <20080415025610.GB8011@pretender.frop.net> Content-Type: multipart/alternative; boundary=Apple-Mail-1-157745467 Mime-Version: 1.0 (Apple Message framework v919.2) Subject: Re: [linux-lvm] Increase LV size of snapshot (not COW table size) Date: Tue, 15 Apr 2008 00:48:15 -0700 References: <20080415025610.GB8011@pretender.frop.net> Reply-To: LVM general discussion and development List-Id: LVM general discussion and development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , List-Id: To: LVM general discussion and development --Apple-Mail-1-157745467 Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit You'll probably have better luck with unionfs. LVM doesn't really do what you're asking for. On Apr 14, 2008, at 7:56 PM, dave@frop.net wrote: > I want to use LVM snapshots as CoW filesystems for virtual machines. > > Is it possible to increase the apparent size of the snapshot LV > without increasing the COW table size? > > Basically I want to have a minimally sized filesystem on a lv which > I snapshot for each virtual machine. I don't want to be restricted > to having all the snapshots only be the size of the source lv. I > want to increase the LV size of the snapshots at will and then > resize the underlying filesystems to fill it out (sparsely within > the COW table of course). > > It seems that lvresize only increases the cow table size for > snapshots, am I correct that LVM can't do what I want? > > thanks alot! > > _______________________________________________ > linux-lvm mailing list > linux-lvm@redhat.com > https://www.redhat.com/mailman/listinfo/linux-lvm > read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/ -- Jayson Vantuyl Systems Architect Engine Yard jvantuyl@engineyard.com 1 866 518 9275 ext 204 --Apple-Mail-1-157745467 Content-Type: text/html; charset=US-ASCII Content-Transfer-Encoding: quoted-printable You'll probably have better = luck with unionfs.  LVM doesn't really do what you're asking = for.

On Apr 14, 2008, at 7:56 PM, dave@frop.net wrote:
I want to = use LVM snapshots as CoW filesystems for virtual machines.

Is it = possible to increase the apparent size of the snapshot LV without = increasing the COW table size?

Basically I want to have a = minimally sized filesystem on a lv which I snapshot for each virtual = machine.  I don't want to be restricted to having all the snapshots = only be the size of the source lv.  I want to increase the LV size = of the snapshots at will and then resize the underlying filesystems to = fill it out (sparsely within the COW table of course).

It seems = that lvresize only increases the cow table size for snapshots, am I = correct that LVM can't do what I want?

thanks = alot!

_______________________________________________
linux-lvm = mailing list
linux-lvm@redhat.com
https://w= ww.redhat.com/mailman/listinfo/linux-lvm
read the LVM HOW-TO at = http://tldp.org/HOWTO/LVM-HOWTO/