All of lore.kernel.org
 help / color / mirror / Atom feed
From: Mike Snitzer <snitzer@redhat.com>
To: lvm-devel@redhat.com
Subject: snapshot in shared disk environment
Date: Tue, 5 Apr 2011 11:56:28 -0400	[thread overview]
Message-ID: <20110405155628.GC20046@redhat.com> (raw)
In-Reply-To: <4D9AED98.1080900@ce.jp.nec.com>

On Tue, Apr 05 2011 at  6:23am -0400,
Jun'ichi Nomura <j-nomura@ce.jp.nec.com> wrote:

> Hi,
> 
> Is it possible or is there on-going work to use snapshot in shared disk
> environment?
> 
> 
> In virtualization context, snapshotting is useful for quickly
> creating a guest image from a template disk image.
> (Fast creation and space efficiency with a cost of runtime performance)
> 
> LVM snapshot can be used for such a purpose, but there is a problem
> if we are in shared disk environment:
>   a) Clustered snapshot is not yet supported.
>   b) Origin and snapshots are activated/deactivated as a whole set.
>      We can't individually activate/deactivate different snapshots on
>      different nodes.
> 
> a) might be ok.
> A snapshot is accessed on a host at a time, not simultaneously on multiple
> hosts. Also the origin is read-only.
> So snapshot itself need not be cluster aware, I think.
> If there are thousands of nodes sharing the disk, but only one of them
> accesses the snapshot, clustered snapshot seems overkill.
> 
> I wonder whether we could relax the restriction in b) and allow individual
> activation of snapshots.
> Then, we can use snapshots in shared disk environment without clustered
> snapshot support?

Jon Brassow has worked on exclussive activation that allows snapshots to
be activated on a specific machine.  Please see lvm2.git commit
1ce9f8621bce7baa815145b7de8bd3ffca14420a

Mike



  reply	other threads:[~2011-04-05 15:56 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-04-05 10:23 snapshot in shared disk environment Jun'ichi Nomura
2011-04-05 15:56 ` Mike Snitzer [this message]
2011-04-05 17:45 ` Alasdair G Kergon
2011-04-05 18:08   ` Alasdair G Kergon
2011-04-06  9:51     ` Jun'ichi Nomura

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=20110405155628.GC20046@redhat.com \
    --to=snitzer@redhat.com \
    --cc=lvm-devel@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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.