linux-lvm.redhat.com archive mirror
 help / color / mirror / Atom feed
From: Marian Csontos <mcsontos@redhat.com>
To: LVM general discussion and development <linux-lvm@redhat.com>
Cc: synnefo-devel@googlegroups.com, Vangelis Koukis <vkoukis@grnet.gr>
Subject: Re: [linux-lvm] Sparse LVs, --virtualsize equal to --size
Date: Mon, 28 Jan 2013 14:50:48 +0100	[thread overview]
Message-ID: <51068238.1090809@redhat.com> (raw)
In-Reply-To: <20130125084410.GB10563@daedalus.cslab.ece.ntua.gr>

On 01/25/2013 09:44 AM, Vangelis Koukis wrote:
> On Thu, Jan 24, 2013 at 11:42:35pm +0000, Alasdair G Kergon wrote:
>> So look at thin provisioning with its zeroing option.
>> External origin.  (support currently being added to lvm)
>>
>> Or this not-yet-upstream target:
>> http://people.redhat.com/agk/patches/linux/editing/dm-add-zeroed-target.patch
>>
>> Alasdair
>
> Thanks Alasdair,
>
> this seems to fit the bill perfectly, it's a shame it's
> not yet merged upstream.
>
> Until then, if we are to go with the "snapshot-over-the-zero-target"
> route, can you comment on quantifying the space overhead of tracking
> chunks in the snapshot?

Beware! Large old-style snapshots may take a very long time to 
activate[1] (reportedly up to few hours) and my guess is many smaller 
snapshots will behave the same[2], the total amount of chunks written to 
all snapshots being the key to slow start...

You should definitely try it with your workflow before going too far 
that direction.

[1]Just search for 'lvm large snapshot'. Someone here may be able to 
point you to a more complete data.

[2] Not even trying to think about many larger ones as your usecase 
suggests: just update kernel and java few times and with journal FS you 
will soon be at few gigabytes per VM.

-- Marian

>
> Thanks again,
> Vangelis.
>
>
>
>
> _______________________________________________
> 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/

  parent reply	other threads:[~2013-01-28 13:50 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-01-24 15:53 [linux-lvm] Sparse LVs, --virtualsize equal to --size Vangelis Koukis
2013-01-24 18:08 ` Alasdair G Kergon
2013-01-24 18:35   ` Stuart D Gathman
2013-01-24 23:42     ` Alasdair G Kergon
2013-01-25  8:44       ` Vangelis Koukis
2013-01-25 12:29         ` Alasdair G Kergon
2013-01-25 16:19           ` Vangelis Koukis
2013-01-28 13:50         ` Marian Csontos [this message]
2013-01-29  8:24           ` Vangelis Koukis
2013-01-31 16:22             ` Lars Ellenberg
2013-02-06 16:05               ` Vangelis Koukis
2013-01-25  8:39     ` Vangelis Koukis

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=51068238.1090809@redhat.com \
    --to=mcsontos@redhat.com \
    --cc=linux-lvm@redhat.com \
    --cc=synnefo-devel@googlegroups.com \
    --cc=vkoukis@grnet.gr \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).