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).
Ralph Böhme
2016-Nov-03 14:28 UTC
[Samba] CTDB and locking issues in 4.4.6 (Classic domain)
On Thu, Nov 03, 2016 at 02:24:23PM +0000, Alex Crow wrote:> > 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.if it's not set, the default is used which works in many cases, but not in mine. If the default wasn't working in your setup, you'd notice, as clients wouldn't be able to talk to ctdb at all. -slow
On 03/11/16 14:28, Ralph Böhme wrote:> >> 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. > if it's not set, the default is used which works in many cases, but > not in mine. If the default wasn't working in your setup, you'd > notice, as clients wouldn't be able to talk to ctdb at all. > > -slowI can confirm this made no difference. I see the locking working from windows between the first two servers but *not* the third. This seems to match what I had with smbclient. Again, could it be that an FS that passes ping_pong not be able to work in a CTDB cluster? The developers of my fs (MooseFS) have said that while file flock() is working perfectly there is still no directory flock. Could that be a pointer? 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).
Apparently Analagous Threads
- CTDB and locking issues in 4.4.6 (Classic domain)
- CTDB and locking issues in 4.4.6 (Classic domain)
- CTDB and locking issues in 4.4.6 (Classic domain)
- CTDB and locking issues in 4.4.6 (Classic domain)
- Winbind process stuck at 100% after changing use_mmap to no