linux-lvm.redhat.com archive mirror
 help / color / mirror / Atom feed
From: "Dirk H. Schulz" <dirk.schulz@kinzesberg.de>
To: linux-lvm@redhat.com
Subject: [linux-lvm] Federicos patch for clustered snapshots
Date: Sun, 24 Jan 2010 09:29:19 +0100	[thread overview]
Message-ID: <4B5C04DF.4020507@kinzesberg.de> (raw)

Hi all,

I am new to the list, so please bear with me.

This is from this list some 15 months ago:

> On Tue, Oct 14, 2008 at 10:12 AM, Federico Simoncelli
> <federico.simoncelli@???> wrote:
> > Looking at the LVM2 code (LVM2.2.02.40, tools/lvcreate.c:640):
> >
> > /* FIXME Allow exclusive activation. */
> > if (vg_is_clustered(vg)) {
> > log_error("Clustered snapshots are not yet supported.");
> > return 0;
> > }
> >
> > looks like there is no way to activate a snapshot in a clustered
> > volume group. Is the documentation wrong?
> > Is there anyone actively working on the "exclusive activation" FIXME
> > that is mentioned in the comment?
>
> Hi all,
> I worked a little on this issue and I came up with a working patch
> for LVM2.2.02.32.
> ...
> To be able to set the lv as exclusive you have to deactivate it on the
> other nodes with the command:
>
> # lvchange -aln /dev/vg00/lvol1
>
> and then you can create the snapshot:
>
> # lvcreate --size 100M --snapshot --name snap /dev/vg00/lvol1
> Logical volume "snap" created
>
> It automatically takes care to set the lv device as exclusive 
> (vgchange -aey).
> Can anyone review the patch? 
I would be very interested in the outcome of this patch. Has it been 
reviewed, how was the result, are there binaries/source code I could deploy?

Any hint or help would be greatly appreciated.

Dirk

                 reply	other threads:[~2010-01-24  8:29 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=4B5C04DF.4020507@kinzesberg.de \
    --to=dirk.schulz@kinzesberg.de \
    --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).