From: Christine Caulfield <ccaulfie@redhat.com>
To: linux-lvm@redhat.com
Subject: Re: [linux-lvm] Is there any help for external locking of LVM?
Date: Mon, 23 Aug 2010 14:49:14 +0100 [thread overview]
Message-ID: <4C727C5A.4010701@redhat.com> (raw)
In-Reply-To: <0ef301cb427a$1c5d9710$5518c530$@com>
Hiya
There's no documentation on writing locking plugins but it's fairly
straightforward, in principle at least ;-)
Have a look at LVM2/lib/locking/no_locking.c and add your custom locking
parts in there. You DO need to call the lvm libraries parts or nothing
will happen.
If your locking library is generally useful I hope you will share it
with the community.
Chrissie
On 23/08/10 05:17, Kirby Zhou wrote:
> I am working for getting a alternative of built-in clustered locking.
> clvmd cannot support large size cluster well, and cannot across VLAN.
> In my opinion, a centralized locking mechanism is more suitable for
> large-scale cluster.
>
> If I just put locking_dir on a NFS volume with locking_type=1, can I use LVM
> to share a storage across machine?
> Or is there any document can guide me to write a new locking plug-in?
>
> Regards,
> Kirby Zhou
> from SOHU-RD +86-10-6272-8261
>
next prev parent reply other threads:[~2010-08-23 13:49 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-08-23 4:17 [linux-lvm] Is there any help for external locking of LVM? Kirby Zhou
2010-08-23 13:49 ` Christine Caulfield [this message]
2010-08-23 15:59 ` Kirby Zhou
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=4C727C5A.4010701@redhat.com \
--to=ccaulfie@redhat.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.