TDB corruption with Samba 2.2.3a

Steve Lord lord at
Tue Mar 19 11:59:03 GMT 2002

On Tue, 2002-03-19 at 01:03, Martin Apel wrote:
> On Wed, 13 Mar 2002, Jeremy Allison wrote:
> > On Wed, Mar 13, 2002 at 05:25:13AM -0500, ZINKEVICIUS,MATT (HP-Loveland,ex1) wrote:
> > > We are also experiencing the TDB corruptions, as reported in the samba log
> > > files. At first there didn't seem to be an consequence, but we are now
> > > beginning to see user's not being able to login to the machine. As a
> > > workaround we have been just deleting the secrets.tdb file, restarting
> > > samba, and rejoining the domain.
> > >
> > > Our server if very similar to Martin's (Samba 2.2.3a + Linux 2.4.17 + XFS).
> > > I'll post more details soon.
> >
> > Can you try using the tdbbackup utility periodically
> > to determine when the corruption may be occurring ?
> I let the tdbbackup run for a few days now. The TDB corruption seems to
> happen at the time, when Amanda (a great backup tool) starts to run.
> I have moved the Amanda start time back and forth and the corruption
> starts within 10 minutes after starting Amanda.
> I don't think it's Amanda's fault, I assume that Amanda puts a heavy load
> on the filesystem layer during the first minutes, when it does its estimates.
> A reminder: all partitions on this system are XFS partititions, including
> /var, where Samba stores the TDB files.
> I could try to reformat the /var filesystem with ext2 to see if this has
> any influence. But this will probably need a server reboot, so I cannot
> do this before the weekend.
> Martin

Can you try a kernel from the 2.4 xfs cvs tree - I just pushed some
changes out there which fix a corruption problem under heavy memory



Steve Lord                                      voice: +1-651-683-3511
Principal Engineer, Filesystem Software         email: lord at

More information about the samba-technical mailing list