[linux-lvm] CLVMD Simple method to get who holds a lock in a cluster

brem belguebli brem.belguebli at gmail.com
Mon Jul 27 12:25:15 UTC 2009


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

Is there a way to request dlm (via dlm_tool) to get the lock holding node or
via  any LVM command.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/linux-lvm/attachments/20090727/2afd750d/attachment.htm>

More information about the linux-lvm mailing list