xfs
[Top] [All Lists]

Re: TDB corruption with Samba 2.2.3a

To: Martin Apel <apel@xxxxxxxxxxxxx>
Subject: Re: TDB corruption with Samba 2.2.3a
From: Keith Owens <kaos@xxxxxxx>
Date: Tue, 19 Mar 2002 21:42:33 +1100
Cc: Jeremy Allison <jra@xxxxxxxxx>, "ZINKEVICIUS,MATT (HP-Loveland, ex1)" <matt_zinkevicius@xxxxxx>, samba-technical@xxxxxxxxxxxxxxx, linux-xfs@xxxxxxxxxxx
In-reply-to: Your message of "Tue, 19 Mar 2002 08:03:22 BST." <Pine.SGI.4.40.0203190755150.4199530-100000@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx>
Sender: owner-linux-xfs@xxxxxxxxxxx
On Tue, 19 Mar 2002 08:03:22 +0100, 
Martin Apel <apel@xxxxxxxxxxxxx> 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.

There was a bug in XFS mmap handling in 2.4.17 with these symptoms.
mmapped files would be fine until there was heavy load or the machine
shut down, then blocks would be corrupt.
http://marc.theaimsgroup.com/?l=linux-xfs&w=2&r=1&s=ftruncate+mmap&q=b
Steve Lord fixed it (or at least my test case no longer tripped the
problem) on approx January 28, 2002.  The patch which fixed my test is
http://marc.theaimsgroup.com/?l=linux-xfs&m=101223695324406&w=2


<Prev in Thread] Current Thread [Next in Thread>