Bug 6285 - Repeated entries in directory listing
Repeated entries in directory listing
Status: NEW
Product: Samba 3.2
Classification: Unclassified
Component: Client tools
3.2.5
Other Linux
: P3 normal
: ---
Assigned To: Steve French
Samba QA Contact
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2009-04-22 18:25 UTC by Markus Koller
Modified: 2009-05-19 06:56 UTC (History)
0 users

See Also:


Attachments
Debug messages while mounting the share and running ls on the root folder (78.31 KB, text/plain)
2009-04-22 18:29 UTC, Markus Koller
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Markus Koller 2009-04-22 18:25:44 UTC
I'm connecting from a Linux/Debian client to a OpenSolaris/Nexenta server running the in-kernel CIFS daemon (not Samba). When listing the root folder of the share almost all entries are repeated, up to 128 times. The same behaviour happens in some subfolders.

I've tried the following things without success:
- using smbfs instead of cifs on the client
- enabling/disabling directio and serverino, and removing all custom mount options
- connecting from 32bit and 64bit Linux clients

I suspect that this is a client problem because connecting from a Windows client and using the smbclient tool on the same Linux client does indeed work (i.e. no repeats).

System information about the client:

smbfs package version: 3.2.5-4lenny2

$ modinfo cifs
filename:       /lib/modules/2.6.26-bpo.1-xen-amd64/kernel/fs/cifs/cifs.ko
author:         Steve French <sfrench@us.ibm.com>
license:        GPL
description:    VFS to access servers complying with the SNIA CIFS Specification e.g. Samba and Windows
version:        1.53
vermagic:       2.6.26-bpo.1-xen-amd64 SMP mod_unload modversions Xen 
depends:        nls_base
srcversion:     BCCEF6AC6E05DFA42F9A608
parm:           cifs_max_pending:Simultaneous requests to server. Default: 50 Range: 2 to 256 (int)
parm:           cifs_min_small:Small network buffers in pool. Default: 30 Range: 2 to 256 (int)
parm:           cifs_min_rcv:Network buffers in pool. Default: 4 Range: 1 to 64 (int)
parm:           CIFSMaxBufSize:Network buffer size (not including header). Default: 16384 Range: 8192 to 130048 (int)

I'll also upload debug messages from the client shortly (obtained using echo 7 > /proc/fs/cifs/cifsFYI)
Comment 1 Markus Koller 2009-04-22 18:29:38 UTC
Created attachment 4079 [details]
Debug messages while mounting the share and running ls on the root folder

CIFS debug messages activated with 'echo 7 > /proc/fs/cifs/cifsFYI'

Everything up to line 51 is during mounting, and starting from line 53 during 'ls' on the root folder of the mounted share.
Comment 2 Markus Koller 2009-04-22 18:31:57 UTC
By the way, the text file is gzip-compressed.