[Ocfs2-users] dlm questions

Sunil Mushran Sunil.Mushran at oracle.com
Mon Jan 7 13:09:42 PST 2008


Answers inlined.

Charlie Sharkey wrote:
> Some error condition questions ...
>
> Say in a 4 node cluster one node has a dlm lock. Is 
> there any way to remove that lock from another node ?

No. Only the node that creates a lock can drop it.

> If that node that had the lock suddenly goes down, will 
> it's lock be removed after a timeout value, or only when the
> node reboots and rejoins the cluster ?

When a node dies, it is recovered by one of the live nodes.
The dlm recovery involves removing all locks created by the
dead node, remastering all lockres owned by the dead node, etc.
When the dead node rejoins, it starts from a clean slate.

> If the failing system that had the lock was replaced while
> it was down, would the replacement system still unlock 
> the dlm lock or would the contents of the previous (failing) 
> system's /dlm/domainname directory have to be transferred to the 
> new system ?

See previous reply.


Sunil




More information about the Ocfs2-users mailing list