Skip to contentSkip to conversation

Bug: 2.5.47 NFS reports giant filename in readdir

DISCUSSION Felipe Alfaro Solana 2 participants 2 messages Nov 19, 2002

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

I applied the patch to 2.4.20-rc2 but it isn't still working 100%.

Now, when I do an "ls" over the same NFS-mounted directory, I do only get a partial list of files (~500 files of 17000)... "dmesg" on 2.4.20-rc2 reveals the following message:

NFS: readdir reply truncated!

Any more ideas? :-)

----- Original Message -----
From: Trond Myklebust <[email protected]>
Date: 18 Nov 2002 21:47:04 +0100
To: "Felipe Alfaro Solana" <[email protected]>
Subject: Re: [NFS] Bug: 2.5.47 NFS reports giant filename in readdir

Quoted 14 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

" " == Felipe Alfaro Solana <[email protected]> writes:

> The last command produces an empty listing, even when the > directory contains 16694 files on it. When I do a "dmesg" on my > 2.4.20-rc1 machine, I see the following errors:

Sigh. Yep. It's a known issue with 2.4.20-rc1 and rc2. Fix is

http://www.fys.uio.no/~trondmy/src/2.4.20-pre9/linux-2.4.20-00-fix_overflow.dif

Cheers,
Trond

Signature · 14 lines
______________________________________________
http://www.linuxmail.org/
Now with POP3/IMAP access for only US$19.95/yr

Powered by Outblaze


-------------------------------------------------------
This sf.net email is sponsored by: To learn the basics of securing 
your web site with SSL, click here to get a FREE TRIAL of a Thawte 
Server Certificate: http://www.gothawte.com/rd524.html
_______________________________________________
NFS maillist  -  [email protected]
https://lists.sourceforge.net/lists/listinfo/nfs
#1 lore raw
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

" " == Felipe Alfaro Solana <[email protected]> writes:

> I applied the patch to 2.4.20-rc2 but it isn't still working > 100%. Now, when I do an "ls" over the same NFS-mounted > directory, I do only get a partial list of files (~500 files of > 17000)... "dmesg" on 2.4.20-rc2 reveals the following message:

> NFS: readdir reply truncated!

> Any more ideas? :-)

Then I'll need more details on your setup. Server type, mount options,..., and possibly the raw tcpdump output of the last few NFS calls just before you get the 'readdir reply truncated' message. Please remember to use a large value for the snaplen (e.g. '-s 8192')

Cheers,
Trond

-------------------------------------------------------
This sf.net email is sponsored by: To learn the basics of securing your web site with SSL, click here to get a FREE TRIAL of a Thawte Server Certificate: http://www.gothawte.com/rd524.html
_______________________________________________
NFS maillist - [email protected]
https://lists.sourceforge.net/lists/listinfo/nfs