[Samba] a question re. /var/run/samba/unexpected.tdb

Boryeu Mao B.Mao at cerep.com
Fri Feb 11 08:51:20 MST 2011

Thanks for the explanation.  I assume that after the file removal there
is no need to do anything else (creating an empty tdb file, for
example), and the file will be regenerated when it is needed again for
whatever purposes that needed it.

Thanks again,

-----Original Message-----
From: Jeremy Allison [mailto:jra at samba.org] 
Sent: Thursday, February 10, 2011 7:26 PM
To: Boryeu Mao
Cc: samba at lists.samba.org
Subject: Re: [Samba] a question re. /var/run/samba/unexpected.tdb

On Thu, Feb 10, 2011 at 05:56:55PM -0800, Boryeu Mao wrote:
> Not having paid any attention, I discovered that this file grew to be
> 1048518656 bytes (this on a debian-based Linux system), and filled up
> the (small) filesystem for /var.  Is there a 'normal' size that I
> expect for this file ?  What could be the reason for the large size?
> And how could it be best reduced?

We are planning to remove this file in Samba 3.6, replacing it
with inter process communication instead.

> (There was a suggestion of stopping
> samba, removing the file, and restarting samba - is this the right

Yes, this will clear it out.


<font face="Century Gothic" color="red">
<b><u>Disclaimer</u></b></font><font face="Century Gothic">
This message, including any attachment, is intended for the use of the individual or entity to which it is addressed. 
It is therefore to be considered as a private correspondence which may contain confidential information. If you are 
not the intended recipient, please advise the sender immediately delete this message and any attachment there to 
without retaining a copy.

More information about the samba mailing list