>> Not sure what's going on with the rest of it. Doing a bit of testing... > I tested on a 3 node test cluster, with 4.4.x and master, works as > expected. > > -slow >Hi there, Can you send your smb.conf so I can compare it to mine? 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).
Ralph Böhme
2016-Nov-03 13:12 UTC
[Samba] CTDB and locking issues in 4.4.6 (Classic domain)
On Thu, Nov 03, 2016 at 01:00:25PM +0000, Alex Crow wrote:> > > > Not sure what's going on with the rest of it. Doing a bit of testing... > > I tested on a 3 node test cluster, with 4.4.x and master, works as > > expected. > > > > -slow > > > > 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
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 > > -slowAh, 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).