[Samba] How do I trim messages.tdb??

Jeremy Allison jra at samba.org
Wed Nov 22 15:56:34 GMT 2006


On Tue, Nov 21, 2006 at 10:17:13PM -0800, Rob Tanner wrote:
> Hi,
> 
> I've got a messages.tdb file that's currently 2.5GB in size.  Is there a
> way to trim it down (and preferably keep it  trimmed)?  Can I simply
> delete it or zero its length by copying  /dev/null to it?
> 
> I'm need of an answer before I end up with a full file system.

You can stop smbd/nmbd then just delete it. It will 
be recreated on startup. Strange that it got so large.

What Samba version ?

Jeremy.


More information about the samba mailing list