All of lore.kernel.org
 help / color / mirror / Atom feed
From: Ray Van Dolson <rvandolson@esri.com>
To: linux-lvm@redhat.com
Subject: Re: [linux-lvm] What is holding back clustered snapshotting?
Date: Tue, 5 Jan 2010 12:01:25 -0800	[thread overview]
Message-ID: <20100105200125.GA24123@esri.com> (raw)
In-Reply-To: <Pine.LNX.4.64.1001051418140.9847@bmsred.bmsi.com>

On Tue, Jan 05, 2010 at 11:30:01AM -0800, Stuart D. Gathman wrote:
> On Tue, 5 Jan 2010, Madison Kelly wrote:
> 
> >   I know that, currently, this isn't supported. Would someone be able to
> > explain or point me at a place to read up on what is holding this feature
> > back? What are the difficulties? Is it just a question of time, or are there
> > certain technical hurdles in the way?
> 
> Setting up the shapshot is just a matter of locking and coordination.
> However, writes to the origin or snapshot (may) require allocating a
> cluster, copying the origin data, then writing the origin.  All of
> this coordinated with all the machines using the VG.  Apart from some
> cleven invention, this requires global locking on many writes.  This
> is just too inefficient.

Writeable snapshots I guess would be a challenge.  But even read only
snapshots would be great as it would theoretically make backing up
large, clustered filesystems simpler.

> 
> However, you can obtain the same effect using a SAN.  Have one
> machine run LVM (and raid, etc), and export LVs via AoE or iSCSI.  Of
> course, that LVM machine now becomes a single point of failure...
> 
> Here's an idea (someone probably already thought of this, but..),
> have one machine in a cluster elected "master" for a VG, and have all
> reads/writes from other machines go through the master via AoE or
> iSCSI.  When failure of the "master" is detected, elect another
> machine to take over as master.  Sort of a rotating SAN server.
> 

Interesting idea. :)

Ray

  reply	other threads:[~2010-01-05 20:01 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-01-05 19:11 [linux-lvm] What is holding back clustered snapshotting? Madison Kelly
2010-01-05 19:30 ` Stuart D. Gathman
2010-01-05 20:01   ` Ray Van Dolson [this message]
2010-01-05 20:17     ` Stuart D. Gathman
2010-01-05 19:35 ` Ray Van Dolson
2010-01-05 22:52 ` Jonathan Brassow

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=20100105200125.GA24123@esri.com \
    --to=rvandolson@esri.com \
    --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 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.