Displaying 3 results from an estimated 3 matches for "varcache".
Did you mean:
dircache
2016 Feb 04
3
A question about Samba logging
Hi
May I ask for help with this again please?
I’m trying to ensure that Samba writes its wins.dat file to tmpfs.
I have added these mount commands to /etc/init.d/samba:
case $1 in
start)
mount -t tmpfs tmpfs /var/run/samba
mount -t tmpfs tmpfs /var/cache/samba
/etc/init.d/nmbd start
/etc/init.d/smbd start
2005 Mar 21
2
what are *.tdb files?
In /varcache/samba/ I have several .tdb files. Like brlock.tdb,
locking.tdb, ntdrivers.tdb, etc. Excusing my ignorance, what are these
files, and what do they do? And why must they be copied when migrating
from one samba server to a new one?
2016 Feb 05
0
A question about Samba logging
...gs about systemd, so if some sees things that needs to be corrected please tell us.
To remember! Files in /etc/tmpfiles.d override files with the same name
in /usr/lib/tmpfiles.d
so knowing this ..
cp /usr/lib/tmpfiles.d/samba.conf /etc/tmpfiles.d/samba.conf
and add to this file
d /run/samba/varcache 0755 root root -
d /run/samba/varlib 0755 root root -
This solves the problem of the needed tmpfs folders
Now you problely also want to backup the content of these
when stopping samba and put it back when you start samba.
This might be bit faultly, and may need corrections.
Create the samba2...