[Samba] Issues with FLOCK on NFS Share

Ralph Boehme slow at samba.org
Tue Jun 30 13:55:03 UTC 2020


Howdy!

Am 6/30/20 um 2:37 PM schrieb Georg.Biberger--- via samba:
> We are using Samba 4.10.16 as a readonly file server on a linux box with SLES 12. All is working fine with our NAS NFS Shares. We are now trying to integrate new NFS Shares from an archive provider. We have some problems with samba not responding, when accessing files on these archive NFS shares.
> We have done some Samba-Debugging and found out, that the call to flock in source3/lib/system.c (kernel_flock) do not return and is blocking samba!

kernel oplocks = no

> Is it necessary to use file locking when using Samba as fileserver for readonly access with NFS shares?

Probably not.

-slow

-- 
Ralph Boehme, Samba Team                https://samba.org/
Samba Developer, SerNet GmbH   https://sernet.de/en/samba/
GPG-Fingerprint   FAE2C6088A24252051C559E4AA1E9B7126399E46

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: OpenPGP digital signature
URL: <http://lists.samba.org/pipermail/samba/attachments/20200630/b558cb6c/signature.sig>


More information about the samba mailing list