[Gluster-users] Does Gluster NFS mount support locking?
Chen Chen
chenchen at smartquerier.com
Thu Apr 28 04:04:42 UTC 2016
Hi Kaleb,
As you said, mount with "local_lock=flock" solved my problem.
Many thanks!
Chen
On 4/27/2016 7:25 PM, Kaleb S. KEITHLEY wrote:
> On 04/27/2016 05:37 AM, Chen Chen wrote:
>> Hi everyone,
>>
>> Does Gluster NFS mount support file locking?
>>
>> My program blocked at "flock(3, LOCK_EX"
>> "rpcinfo -p" said nlockmgr is running
>> firewalld (of both client and server) already disabled
>> mounted with "local_lock=none"
>>
>
> NFS (and Gluster NFS, Gluster Native) _only_ supports POSIX advisory
> locking, i.e. fcntl (fd, F_SETLK, ....);
>
--
Chen Chen
Shanghai SmartQuerier Biotechnology Co., Ltd.
Add: Add: 3F, 1278 Keyuan Road, Shanghai 201203, P. R. China
Mob: +86 15221885893
Email: chenchen at smartquerier.com
Web: www.smartquerier.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 4260 bytes
Desc: S/MIME Cryptographic Signature
URL: <http://www.gluster.org/pipermail/gluster-users/attachments/20160428/f1b20418/attachment.p7s>
More information about the Gluster-users
mailing list