Markus Hauschild
2014-Feb-18 08:00 UTC
[Samba] Settings for safe interop between Samba and NFS
Hi, I have read lots of confusing and even contrary statements as to how to configure a Samba share which may also be accessed via NFS.>From one thread [1] on the samba-technical list I gather that disabling kernel oplocks will be enough.So my questions are: Will turning off kernel oplocks be enough to ensure safety while also exporting the same share with NFS? Do I need to consider any other settings (strict locks, oplocks in genreal)? Is there any difference from an interop/safety point of view between NFSv3 and NFSv4 accessing files in parallel to Samba? Cheers, Markus [1] http://samba.2283325.n4.nabble.com/Is-kernel-oplocks-yes-a-good-default-td4548869.html
Jeremy Allison
2014-Feb-28 00:09 UTC
[Samba] Settings for safe interop between Samba and NFS
On Tue, Feb 18, 2014 at 09:00:49AM +0100, Markus Hauschild wrote:> Hi, > > I have read lots of confusing and even contrary statements as to how to configure a Samba share which may also be accessed via NFS. > > >From one thread [1] on the samba-technical list I gather that disabling kernel oplocks will be enough. > > So my questions are: > Will turning off kernel oplocks be enough to ensure safety while also exporting the same share with NFS?That and ensuring POSIX locking is on.
Maybe Matching Threads
- [PATCH libnbd 5/5] interop: Add tests of nbdkit + LIBNBD_TLS_ALLOW.
- [PATCH libnbd 4/5] interop: Add -DTLS_MODE to the test.
- [libnbd PATCH] interop: Don't fail qemu tls testing if nbdkit was not installed
- [PATCH libnbd 2/2] interop: Retry TCP connections to qemu-nbd.
- [Bug 2639] New: PuTTY interop tests broken