posix locking on OCFS2

Rowland Penny repenny241155 at gmail.com
Sun Nov 23 02:09:23 MST 2014

On 22/11/14 22:57, steve wrote:
> On 22/11/14 23:03, David Disseldorp wrote:
>> On Fri, 21 Nov 2014 11:47:54 +0100, Ralph Böhme wrote:
>>>> Unfortunately, POSIX file locks, also known as lockf(3) or fcntl(2) 
>>>> locks
>>>> are not yet supported in a cluster manner. We hope to have that 
>>>> ready in an
>>>> upcoming version of Ocfs2.
>>> possibly a documentation bug? Few lines below it states:
>> Yes, the documentation is just out of date. OCFS2 (alongside DLM)
>> supports cluster coherent POSIX locks, which can be tested via the
>> ping_pong tool provided with ctdb.
>> I've reverted the erroneous Wiki update. FWIW, Jim documented this
>> back in 2011 with:
>> https://wiki.samba.org/index.php?title=CTDB_Setup&diff=6046&oldid=5652
>> Cheers, David
> The fact remains, that ctdb will not start if the lock is on shared 
> ocfs2 storage. Please leave the wiki as it is, with this fact intact.
> Thanks,
> Steve
Hi Steve, do you want to test with the 'ping_pong' tool as described by 
David, If it doesn't work, can you file a bug on CTDB,as it would seem 
it should work. If you do file a bug, I will put something back into the 
documentation linking to the bug report.


More information about the samba-technical mailing list