[Samba] Issues with FLOCK on NFS Share

Georg.Biberger at partner.bmw.de Georg.Biberger at partner.bmw.de
Tue Jun 30 12:37:01 UTC 2020


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!
Is it necessary to use file locking when using Samba as fileserver for readonly access with NFS shares?
Can I disable locking with
in config.h.
What are the consequences?

Kind regards



Biberger und Partner
Kobellstraße 1
80336 München
Biberger und Partner Diplom-Informatiker Partnerschaftsgesellschaft
Partner: Anne Feldmeier, Georg Biberger
Sitz und Registergericht: München PR 480
Umsatzsteuer-ID: DE206858618
Erreichbarkeit bei der BMW Group:
Tel.: +49 89 382-49629
Mobil: +49 172 7719871
E-Mail: Georg.Biberger at partner.bmw.de<mailto:Georg.Biberger at partner.bmw.de>

More information about the samba mailing list