[Samba] inotify error and a file opened 1000+ times on a Samba share
retlaw.rentuam at gmail.com
Thu Mar 4 02:24:36 MST 2010
Am Donnerstag, 4. März 2010 03:53:57 schrieb Jonathan Bennett:
> After hours of searching, I found a fix. Adding "posix locking = no" to
> that share in smb.conf fixed the problem. I'm not sure exactly what was
> happening, but everything seems to work with that clause in place.
Since the "ldb" files are lock files used by the database program to manage
locking by itself, turning off samba locking on database shares is the obvious
fix - but you should make a distinct share for databases, because other files on
the same share might end up corrupted that way.
More information about the samba