[Ocfs2-devel] How to unlock a bloked resource? Thanks

Guozhonghua guozhonghua at h3c.com
Tue Sep 9 19:55:48 PDT 2014


Hi All:

As we test with two node in one OCFS2 cluster.
The cluster is hang up may be for dead lock.
We use the debugfs.ocfs tool founding that one resource is holding by one node who has it for long time and another node can still wait for the resource.
So the cluster is hang up.

debugfs.ocfs2 -R "fs_locks -B" /dev/dm-0
debugfs.ocfs2 -R "dlm_locks LOCKID_XXX" /dev/dm-0

How to unlock the lock held by the node? Is there some commands to unlock the resource?

Thanks.
-------------------------------------------------------------------------------------------------------------------------------------
????????????????????????????????????????
????????????????????????????????????????
????????????????????????????????????????
???
This e-mail and its attachments contain confidential information from H3C, which is
intended only for the person or entity whose address is listed above. Any use of the
information contained herein in any way (including, but not limited to, total or partial
disclosure, reproduction, or dissemination) by persons other than the intended
recipient(s) is prohibited. If you receive this e-mail in error, please notify the sender
by phone or email immediately and delete it!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://oss.oracle.com/pipermail/ocfs2-devel/attachments/20140910/06c1f352/attachment.html 


More information about the Ocfs2-devel mailing list