All of lore.kernel.org
 help / color / mirror / Atom feed
From: Jun'ichi Nomura <j-nomura@ce.jp.nec.com>
To: lvm-devel@redhat.com
Subject: snapshot in shared disk environment
Date: Tue, 05 Apr 2011 19:23:20 +0900	[thread overview]
Message-ID: <4D9AED98.1080900@ce.jp.nec.com> (raw)

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?

Thanks,
-- 
Jun'ichi Nomura, NEC Corporation



             reply	other threads:[~2011-04-05 10:23 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-04-05 10:23 Jun'ichi Nomura [this message]
2011-04-05 15:56 ` snapshot in shared disk environment Mike Snitzer
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=4D9AED98.1080900@ce.jp.nec.com \
    --to=j-nomura@ce.jp.nec.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.