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 ...
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
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
This subject has been archived. New comments and votes cannot be submitted.
Oct 13
Oct 15
0
1 minute
Responses to this topic
Stupid question, maybe, but is something writing to that directory?
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.
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...
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...