RFC: Shared Directory parameter for some tdb files
steven.danneman at isilon.com
Wed Jan 7 23:09:44 GMT 2009
On an Isilon cluster we run separate instances of smbd/nmbd/winbindd on
each node, while sharing information which needs to be globally
coherent, such as SID<->[UG]ID mappings, via a single persistent tdb on
the clustered file system.
Thus, some state data files such as winbindd_idmap.tdb,
group_mapping.tdb, and share_info.tdb need to live on shared storage,
while others such as gencache.tdb remain on the local file system.
The current directory configuration doesn't allow for this level of
granularity in deciding where statefull tdb files live. Currently all
such files must live in the same directory LOCKDIR.
The attached patch adds a new directory configuration, STATESHAREDDIR,
which specifies a directory on shared storage for the first set of
files. By default this directory is left blank, but when configured
either through --with-stateshareddir, or "state shared dir" smb.conf
parameter certain persistent files are then stored in that shared
I welcome any feedback on this approach to separate the location of
statefull database files.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 15931 bytes
Url : http://lists.samba.org/archive/samba-technical/attachments/20090107/f13bcc3c/0001-Added-STATESHAREDDIR-config-conf-parameter-specifyin.obj
More information about the samba-technical