Ref: Bad File Descriptors
olaf at cbk.poznan.pl
Fri Jun 7 04:55:03 GMT 2002
On Wed, 2002-06-05 at 21:09, Jeremy Allison wrote:
> On Thu, May 30, 2002 at 08:40:16AM -0500, Eric Meyer wrote:
> > Samba Team,
> > In reference to the problem described by Wolfgang below - We are
> > experiencing the exact same thing.
> > We are using Mandrake 8.2 with 2.4.18 kernel and Samba 2.2.3a. Our Samba
> > shares are on a partition using Reiserfs. Clients are running WinXP and
> > Win2000. All clients are experiencing "Bad File Descriptor" errors. Below is
> > an example from the one of our clients log file.
> > [2002/05/29 17:00:42, 0] smbd/fileio.c:seek_file(53) seek_file: sys_lseek
> > failed. Error was Bad file descriptor
> Is this reproducible ? If so can you give me instructions on how to
> do this on a RedHat 7.2 or 7.3 system ?
I had similar problem. It was related to corruption of tdb.
It was observed on 2.4.17+XFS on XFS partition. If tdbs were on ext2
partition, everything was fine.
It was caused by a bug in XFS code.
So, if you have tdb files on ReiserFS I would move them on ext2
partition and check if it helps.
More information about the samba-technical