[Samba] CTDB and locking issues in 4.4.6 (Classic domain)

Alex Crow acrow at integrafin.co.uk
Thu Nov 3 14:24:23 UTC 2016


On 03/11/16 13:12, Ralph Böhme wrote:
>
>> Hi there,
>>
>> Can you send your smb.conf so I can compare it to mine?
> sure. It's a virtual cluster in LXC containers with 3 nodes,
> filesystem is a bind mount with ext4.
>
> # cat /var/lib/lxc/ctdb-node0/rootfs/opt/samba/etc/smb.conf
> [global]
>      clustering = yes
>      ctdbd socket = /opt/samba/var/run/ctdb/ctdbd.socket
>      log file = /var/log/samba/log.%m
>      debug pid = yes
>      log level = 2
>
>      netbios name = CTDB-CLUSTER
>      workgroup = CLUSTER
>      security = user
>
>      idmap config *:backend = tdb
>      idmap config *:range = 10000-99999
>
>      store dos attributes = yes
>      read only = no
>      ea support = yes
>
>      include = registry
>
>      disable spoolss = yes
>
> [test]
>      path = /cluster/data/share
>
> -slow

Ah, my smb.conf is missing the "ctdb socket" parameter. According to 
"man smb.conf" this should be set, but I don't remember seeing it on the 
wiki pages.

I'll have a go with that and report back.

Cheers

Alex

--
This message is intended only for the addressee and may contain
confidential information. Unless you are that person, you may not
disclose its contents or use it in any way and are requested to delete
the message along with any attachments and notify us immediately.
This email is not intended to, nor should it be taken to, constitute advice.
The information provided is correct to our knowledge & belief and must not
be used as a substitute for obtaining tax, regulatory, investment, legal or
any other appropriate advice.

"Transact" is operated by Integrated Financial Arrangements Ltd.
29 Clement's Lane, London EC4N 7AE. Tel: (020) 7608 4900 Fax: (020) 7608 5300.
(Registered office: as above; Registered in England and Wales under
number: 3727592). Authorised and regulated by the Financial Conduct
Authority (entered on the Financial Services Register; no. 190856).



More information about the samba mailing list