[Samba] Samba on Debian with shares on nfs-filesystem
Bernd Schubert
bs at q-leap.de
Wed Aug 22 08:58:25 GMT 2007
On Tuesday 21 August 2007 19:52:08 Volker Lendecke wrote:
> On Tue, Aug 21, 2007 at 06:31:52PM +0200, Bernd Schubert wrote:
> > On debian Sarge samba-3.0.22 worked fine, also with "posix locking = no",
> > on Etch windows has problems to store cached data on the end of the
> > session unless "posix locking = no" is set.
> > So far we never understood what makes the difference. Samba is still the
> > same version, and kernel is also still the same customized 2.6.20. Only
> > the libc and other libraries did change.
>
> Essentially it is the fact that we have seen too many
> problems with broken NFS locking implementations. If you can
> make it work, fine, but Windows and thus Samba use byte
> range locking a lot more than a typical Unix app does. So
> you will hit potential problems with NFS locking much
> quicker.
Hmm, interesting. If the problem is only byte range locking what
about 'translating' byte range locking into entire file locking?
Do you know if there is already some testing tool to stress test unix locking?
If not, shouldn't be difficult to write it.
Thanks,
Bernd
--
Bernd Schubert
Q-Leap Networks GmbH
More information about the samba
mailing list