[Samba] CTDB and locking issues reloaded

Ralph Boehme slow at samba.org
Thu Apr 16 09:12:17 UTC 2020

Am 4/16/20 um 10:42 AM schrieb Giuseppe Lo Presti:
> Bingo!
> Indeed inodes are (obviously) identical, but device numbers differ. For
> the record, the solution has been to include as suggested:
>   vfs objects = fileid
>   fileid:algorithm = fsname
> in the global configuration. With this, Microsoft Office - the real use
> case - works correctly by detecting files opened by other users, no
> matter which gateway users hit.
> So thanks a lot, case solved. And what would be your advice concerning
> the other locking settings? In particular:
>   posix locking = no
>   strict locking = no
>   oplocks = no
>   level2 oplocks = no
>   kernel oplocks = no

that depends on your use case. If you sharing SMB only there's probably
no need to enable posix locking or kernel oplcks, but you should not
change the other options from their default values unless you know what
your're doing.


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/20200416/e49d8019/signature.sig>

More information about the samba mailing list