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: [email protected]
Web: www.smartquerier.com

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature

_______________________________________________
Gluster-users mailing list
[email protected]
http://www.gluster.org/mailman/listinfo/gluster-users

Reply via email to