From: Christine Caulfield <ccaulfie@redhat.com>
To: LVM general discussion and development <linux-lvm@redhat.com>
Subject: Re: [linux-lvm] CLVMD Simple method to get who holds a lock in a cluster
Date: Mon, 27 Jul 2009 13:30:56 +0100 [thread overview]
Message-ID: <4A6D9E00.2090600@redhat.com> (raw)
In-Reply-To: <29ae894c0907270525v63f0a334n464bb49ea60f71cf@mail.gmail.com>
On 07/27/2009 01:25 PM, brem belguebli wrote:
> Hi,
> In a clustered environment, without GFS, we plan to use CLVMD exclusive
> activation of VG's in order to prevent a VG to be activated on more than
> 1 node at a time.
> I've been looking for how to check who holds a lock for a given VG but I
> could'nt find no suitable way to do it.
> The only way was to activate debug ( mount -t debugfs debug /debug) and
> cat /debug/dlm/clvmd_locks.
> Is there a way to request dlm (via dlm_tool) to get the lock holding
> node or via any LVM command.
> Regards
>
>
Depending on the version you have dlm_tool will show you who holds the
lock. But all it does is use the same debugfs interface you've already
mentioned :-)
Chrissie
next prev parent reply other threads:[~2009-07-27 12:30 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-07-27 12:25 [linux-lvm] CLVMD Simple method to get who holds a lock in a cluster brem belguebli
2009-07-27 12:30 ` Christine Caulfield [this message]
2009-07-27 12:48 ` brem belguebli
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=4A6D9E00.2090600@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 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).