linux-lvm.redhat.com archive mirror
 help / color / mirror / Atom feed
From: Tomasz Chmielewski <mangoo@wpkg.org>
To: LVM general discussion and development <linux-lvm@redhat.com>
Subject: [linux-lvm] balooning/dynamic snapshots?
Date: Tue, 13 Nov 2007 18:13:20 +0100	[thread overview]
Message-ID: <4739DB30.9060805@wpkg.org> (raw)

Right now, one has to specify a snapshot size.

If the snapshot takes more space that one specified with -s (size), that 
snapshot is automatically dropped, and is no longer usable.


Sometimes, it is just not possible to know beforehand how much data will 
change, but on the other hand, specifying 100% snapshot size is not 
possible or hard to estimate.


Is it possible to make a "balooning", or dynamic LVM snapshot? That is, 
if the snapshot reaches its maximum, it will be automatically resized, 
provided we still have space on the medium.

Looking at lvm manuals, I didn't see such a feature, and the only 
possibility seems to be to create a userspace program which would check 
the status of the snapshots periodically, and resize them if needed - 
but this seems crude, and may not work sometimes (very loaded system, 
volumes with a lot of writes etc.).


-- 
Tomasz Chmielewski
http://lists.wpkg.org

             reply	other threads:[~2007-11-13 17:13 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-11-13 17:13 Tomasz Chmielewski [this message]
2007-11-13 20:27 ` [linux-lvm] balooning/dynamic snapshots? Brian J. Murrell
2007-11-13 20:29   ` Brian J. Murrell
2007-11-26  5:12   ` [linux-lvm] lvm library progress? ben scott
2007-11-26 15:22     ` Greg_Swift

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=4739DB30.9060805@wpkg.org \
    --to=mangoo@wpkg.org \
    --cc=linux-lvm@redhat.com \
    /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).