linux-lvm.redhat.com archive mirror
 help / color / mirror / Atom feed
* [linux-lvm] CLVMD Simple method to get who holds a lock in a cluster
@ 2009-07-27 12:25 brem belguebli
  2009-07-27 12:30 ` Christine Caulfield
  0 siblings, 1 reply; 3+ messages in thread
From: brem belguebli @ 2009-07-27 12:25 UTC (permalink / raw)
  To: linux-lvm

[-- Attachment #1: Type: text/plain, Size: 492 bytes --]

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

[-- Attachment #2: Type: text/html, Size: 641 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2009-07-27 12:48 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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
2009-07-27 12:48   ` brem belguebli

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).