Monitoring dlm locks - system wide...

From: tsv (mailtsv_at_gmail.com)
Date: 01/25/05


Date: 25 Jan 2005 04:48:37 -0800

Hi,
We use DLM (using lock value block) for IPC between processes in a
tru64 unix cluster.
Incidentally, we face issues in IPC and we suspect it to be because of
an orphaned dlm lock (in PR mode).
To isolate, we are looking for any command or procedure which will
list out the
details(list of processes holding this lock, the lock modes and
status) about a given dlm lock name.
I tried using the dlm api - dlm_get_rsbinfo, but it lists only the
count of the locks taken but no process info.

Regards,
TSV



Relevant Pages

  • Re: [RFC] page lock ordering and OCFS2
    ... >>hold a valid lock while there are active pages in the page cache. ... a node associates a held DLM lock with the pages it has in its ... DLM kernel threads respond to the network messages and truncate the page ...
    (Linux-Kernel)
  • Re: [PATCH 0/7] dlm: overview
    ... >> lock requests involve sending a message to a remote machine and waiting ... >> a request, which is why I'm a bit confused by your question. ... how does oracle's dlm perform for your questions above? ... >> I'd suggest that if some cluster application is using the dlm and has poor ...
    (Linux-Kernel)
  • Re: [PATCH 1b/7] dlm: core locking
    ... > cluster snapshot metadata and ddraid dirty log. ... > depending on whether a lock happens to master locally or not, ... So the easy way to use the DLM for metadata ownership is simply to have ...
    (Linux-Kernel)
  • Re: [RFC] page lock ordering and OCFS2
    ... I'm appending a patch which attempts to solve this problem in OCFS2 code ... The idea is to stop the DLM thread from deadlocking on locked pages (which are ... thread so they can assume ownership of the page lock, ... int ocfs2_data_lock(struct inode *inode, ...
    (Linux-Kernel)
  • Re: [PATCH 1b/7] dlm: core locking
    ... If the DLM can grant a lock, ... GFS actually writes to shared storage. ... >> yours was modeled after the VMS DLM, didn't they depend on fencing?) ...
    (Linux-Kernel)