[Samba] FINDNEXT problem, w2k and linux smbfs
Vlad Skarzhevskyy
vlads at sympatico.ca
Fri Jun 21 07:19:01 GMT 2002
Done this
2.4.18-00
patch -p0 < 00-smbfs-2.4.18-codepage.patch.gz
patch -p0 < 01-smbfs-2.4.18-lfs.patch.gz
patch -p0 < 02-smbfs-2.4.18-unicode.patch.gz
make clean; make bzImage; make modules; make modules_install
Do need to change kernel image and reboot just in case since headers has
been changed?
Even if I have smbfs a module.
mount; test
Problem are there but changed slightly for short files!
Fast test long file names.
ttl=10, 1000 reads of one dir. Files 64 char, 39 files.
0/0 Errors and was non.
ttl=10, 1000 reads of one dir. Files 64 char, 47 files.
0/0 Errors and was non.
ttl=10, 1000 reads of one dir. Files 64 char, 48 files.
Point of problem to appear in pre patch kernel
14/300 Errors behaviour the same
For short name, size factor moved.
Now fileName=abc_${cnt}.tst
ttl=10, 1000 reads of one dir. Files 6 char, 100 files.
No problems, but was before.
ttl=10, 1000 reads of one dir. Files 6 char, 150 files.
0/0 Errors, no errors.
ttl=10, 1000 reads of one dir. Files 6 char, 200 files.
12/12 Errors.
So probably previous report "started to work" used short file names and
there was 150 files or less.
Regards,
Vlad
-----Original Message-----
From: Urban Widmark [mailto:urban at teststation.com]
Sent: Thursday, June 20, 2002 2:28 PM
To: vlads at sympatico.ca
Cc: samba at lists.samba.org
Subject: Re: [Samba] FINDNEXT problem, w2k and linux smbfs
On Tue, 18 Jun 2002 vlads at sympatico.ca wrote:
> I have inconsistent directory listing on share mounted on linux from
windows 2k.
> Some time not all files appear in the directory listing.
[snip]
> Directories I'm having a problems with have 70 to 250 files.
> Average File name length 40 char.
> rw and ro have the same problems.
> stetting ttl argument have also no affect on this problem it only dellays
it.
Running this for about an hour (on various looking directories) I have
now seen it 3 times. It would help me if I was able to reproduce this more
easily, so maybe you could test a few things for me:
+ With even longer filenames, does it happen more often?
+ Does more files add to the problem?
+ Does setting the ttl really low (ttl=10) or really high (ttl=100000)
make any noticable difference?
+ Does smbclient also get missing files?
I have never before been able to reproduce reports of missing files, but
it is not a new problem and have been reported vs many different kernels.
Ah, saw your followup. Yes, it's been reported before to samba-bugs as
well as to this list.
Someone tested the unicode patches for 2.4.18, available from:
http://www.hojdpunkten.ac.se/054/samba/index.html
and reported that the particular directory they were having problems with
started to work.
/Urban
More information about the samba
mailing list