Paul te Bokkel
2009-Oct-01 11:59 UTC
[Samba] Registry backend changes with CTDB not noticed by other nodes?
Hi! I'm working on a 2-node ctdb-clustered Samba. I'm almost there (hope so), but Samba doesn't seem to notice the modified registry that is distributed with ctdb. On a single node the registry is working. CTDB picks up changes, including the registry, and they are synced to the other node (verified with net conf addshare/delshare and tdbdump on /var/ctdb/persistent/registry*). The other node, however, only seems to use /var/lib/samba/. Testparms doesn't return the newly created shares from the other node. I tried several smb.conf configurations, but if I'm not mistaken, this should be the foundation: [global] clustering = yes config backend = registry combined with a net conf import from another smb.conf (which works fine). So, the question is: why doesn't smbd pick up changes in the ctdb registry? TIA, Paul --- additional info --- ctdb_diagnostics - temporarily - available on http://tebokkel.com/~tebokkel/ctdb.log VMware virtual machines, RHEL 5.4, "experimental" Samba 3.3.5, free disk space, integrated with AD2008, GFS2 on SAN. ctdb-1.0.82-1.el5 samba3x-3.3.5-0.40.el5 samba3x-client-3.3.5-0.40.el5 samba3x-common-3.3.5-0.40.el5 samba3x-winbind-3.3.5-0.40.el5 [root at TFILE001 ~]# lsof|grep registry winbindd 6665 root mem REG 253,0 53248 163921 /var/lib/samba/registry.tdb winbindd 6665 root 7u REG 253,0 53248 163921 /var/lib/samba/registry.tdb winbindd 6666 root mem REG 253,0 53248 163921 /var/lib/samba/registry.tdb winbindd 6666 root 7u REG 253,0 53248 163921 /var/lib/samba/registry.tdb smbd 25653 root mem REG 253,0 53248 163921 /var/lib/samba/registry.tdb smbd 25653 root 5u REG 253,0 53248 163921 /var/lib/samba/registry.tdb smbd 25655 root mem REG 253,0 53248 163921 /var/lib/samba/registry.tdb smbd 25655 root 5u REG 253,0 53248 163921 /var/lib/samba/registry.tdb ctdbd 29801 root mem REG 253,0 241664 589836 /var/ctdb/persistent/registry.tdb.0 ctdbd 29801 root 13u REG 253,0 241664 589836 /var/ctdb/persistent/registry.tdb.0 ctdbd 29803 root mem REG 253,0 241664 589836 /var/ctdb/persistent/registry.tdb.0 ctdbd 29803 root 13u REG 253,0 241664 589836 /var/ctdb/persistent/registry.tdb.0 winbindd 29913 root mem REG 253,0 53248 163921 /var/lib/samba/registry.tdb winbindd 29913 root 7u REG 253,0 53248 163921 /var/lib/samba/registry.tdb winbindd 29921 root mem REG 253,0 53248 163921 /var/lib/samba/registry.tdb winbindd 29921 root 7u REG 253,0 53248 163921 /var/lib/samba/registry.tdb winbindd 29934 root mem REG 253,0 53248 163921 /var/lib/samba/registry.tdb winbindd 29934 root 7u REG 253,0 53248 163921 /var/lib/samba/registry.tdb winbindd 30916 root mem REG 253,0 53248 163921 /var/lib/samba/registry.tdb winbindd 30916 root 7u REG 253,0 53248 163921 /var/lib/samba/registry.tdb