[Samba] Slow ls on smbfs Mounted Share

George, Jason JGeorge at na.CunninghamLindsey.com
Mon Mar 17 13:49:26 GMT 2003

I have a share mounted as follows

mount -t smbfs -o username=blah,password=blah,workgroup=wg
//servername/share /mnt/samba/share

The share mounts fine. I run an ls /mnt/samba/share/test.* (there is only
one file named test, but there are 10K plus files) and it takes forever to
return if it returns at all.

I am Running Debian Woody kernel 2.4.20 smbfs non-modular. Is there
something I can do to speed up the file search? I perform the same operation
from a windows box and it returns in 3 - 5 seconds.

More information about the samba mailing list