smbfs missing directory entries

Hi! I have a problem with WinNT/W2K shares mounted on Linux. Kernel: 2. 4. 20 Samba: 3. 0. 0final-1 (Debian Woody) Sequential ls returns different results for big directories. MyLinux:~# ls /mnt/se/TEST/ -R |wc 10370 9934 133272 MyLinux:~# ls /mnt/se/TEST/ -R |wc 10351 9915 133025 MyLinux:~# ls /mnt/se/TEST/ -R |wc ...

Linux Networking 361 This topic was started by ,


data/avatar/default/avatar09.webp

2 Posts
Location -
Joined 2003-10-13
Hi!
 
I have a problem with WinNT/W2K shares mounted on Linux.
Kernel: 2.4.20
Samba: 3.0.0final-1 (Debian Woody)
 
Sequential "ls" returns different results for big directories.
MyLinux:~# ls /mnt/se/TEST/ -R |wc
10370 9934 133272
MyLinux:~# ls /mnt/se/TEST/ -R |wc
10351 9915 133025
MyLinux:~# ls /mnt/se/TEST/ -R |wc
10371 9935 133285
 
 
What can be wrong?
 
Thanks,
Nikolai

Participate on our website and join the conversation

You have already an account on our website? Use the link below to login.
Login
Create a new user account. Registration is free and takes only a few seconds.
Register
This topic is archived. New comments cannot be posted and votes cannot be cast.

Responses to this topic


data/avatar/default/avatar19.webp

24 Posts
Location -
Joined 2003-04-15
Stupid question, maybe, but is something writing to that directory?

data/avatar/default/avatar09.webp

2 Posts
Location -
Joined 2003-10-13
OP
No, it seems "ls" sometimes retuns not all files, if directory has more then 1000 (?) entries. For "ls -R" it can be some subdirectory.

data/avatar/default/avatar19.webp

24 Posts
Location -
Joined 2003-04-15
Very strange.
 
You could try to redirect the output of ls to a file, and compare the outputs with diff. Maybe you'll see where the difference lies...