[Samba] SMBFS Problems: smb_proc_readdir_long: name=, result= -2, rcls=1, err=123

Gene Yee gyee at sgi.com
Tue Jun 25 10:35:02 GMT 2002

On additional note, I was able to use filler directories to circumvent the
problem.  This works for me since it is archives, but wouldn't for most.
Here is an example:

No filler files:
ls -l - Returns no files

Filler file at top of the directory structure (00_SAMBA)
ls -l - Returns directories 0-D and N-Z

Filler files the top of directory structure and where D's stoped (00_SAMBA
ls -l - Returns all directories.  Verified by comparing properites of
directory under windows and doing a 'ls -d * | wc -l' under the SMB Mount.


-----Original Message-----
From: Gene Yee [mailto:gyee at sgi.com]
Sent: Tuesday, June 25, 2002 10:24 AM
To: samba at lists.samba.org
Subject: [Samba] SMBFS Problems: smb_proc_readdir_long: name=,
result=-2, rcls=1, err=123

Posted in the kernel mailing list with no responce, so trying here...

Here is a quick overview:

I am able to make a connection to a Win2K share and access all the
directories and files, except one.  It is rather large also...  When I
access try to access the directory, it will leave the error:
smb_proc_readdir_long: name=, result=-2, rcls=1, err=123 in the
/var/messages.  It normally shows 0 files in the directory, but if I enter
'ls' enough times it will give me roughly half the files in the directory.
I am listing the properties of the directory below.

Size: 225GB (241,700,612,216 bytes)
Size on disk: 225GB (241,760,051,200 bytes)
Contains: 17,466 Files, 1,215 Folders

I was running 2.4.18 with the Hendrick patch to support a 160GB HD.  I have
since moved up to 2.4.19pre10 hoping the fix the samba problem, I have also
upgraded to the latest Samba on the server, thinking a new smbmount might
help. None of this made a difference. 

Let me know if there is any other information I can provide.

Any suggestion will be appreciated...

To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba

More information about the samba mailing list