smbfs missing directory entries

This is a discussion about smbfs missing directory entries in the Linux Networking category; 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 in our website and join the conversation

You already have an account on our website? To log in, use the link provided below.
Login
Create a new user account. Registration is free and takes only a few seconds.
Register
This subject has been archived. New comments and votes cannot be submitted.
Oct 13
Created
Oct 15
Last Response
0
Likes
1 minute
Read Time
User User
Users

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...