On 16/04/2020 11:12, Ralph Boehme via samba wrote:> Am 4/16/20 um 10:42 AM schrieb Giuseppe Lo Presti:[...]>> 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.Actually the filesystem is also shared via FUSE mounts on Linux clients. My understanding so far was that posix and strict locking set to yes would cause an unnecessary performance impact, whereas other options were tried in the context of this troubleshooting. Will revert them to their default. And to close on this thread, I'd suggest to document the vfs objects parameter in the CTDB documentation, as it's a pretty unintuitive one to find out when configuring a samba cluster. Thanks a lot, Cheers, Giuseppe
On Thu, 16 Apr 2020 17:45:24 +0200, Giuseppe Lo Presti via samba <samba at lists.samba.org> wrote:> And to close on this thread, I'd suggest to document the vfs objects > parameter in the CTDB documentation, as it's a pretty unintuitive one to > find out when configuring a samba cluster.It would be impossible to fit all of the possibly relevant details into the manual pages and then keep them up to date. So, I've added a prominent link to the wiki near the top of the ctdb(7) manual page and also in the "See also" section. Pointing to the wiki should at least given people somewhere obvious to go for more details, especially when they have problems. This has missed 4.13 but will be in 4.14. I hope this will help people in the future... peace & happiness, martin
On 18/08/2020 05:36, Martin Schwenke wrote:> On Thu, 16 Apr 2020 17:45:24 +0200, Giuseppe Lo Presti via samba > <samba at lists.samba.org> wrote: > >> And to close on this thread, I'd suggest to document the vfs objects >> parameter in the CTDB documentation, as it's a pretty unintuitive one to >> find out when configuring a samba cluster. > > It would be impossible to fit all of the possibly relevant details into > the manual pages and then keep them up to date. > > So, I've added a prominent link to the wiki near the top of the ctdb(7) > manual page and also in the "See also" section. Pointing to the wiki > should at least given people somewhere obvious to go for more details, > especially when they have problems.I understand it's impossible to cover all cases, but this is already pretty good, thanks for the follow up. Hopefully it will indeed help other users facing a similar setup. Cheers, Giuseppe