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
author: Steve French <email@example.com>
description: VFS to access servers complying with the SNIA CIFS Specification e.g. Samba and Windows
vermagic: 2.6.26-bpo.1-xen-amd64 SMP mod_unload modversions Xen
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)
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.
By the way, the text file is gzip-compressed.