Bug 60255 - NFS: giant filename in readdir (len 0x47a0c092)
Summary: NFS: giant filename in readdir (len 0x47a0c092)
Alias: None
Product: Red Hat Linux
Classification: Retired
Component: kernel
Version: 7.2
Hardware: i386
OS: Linux
Target Milestone: ---
Assignee: Arjan van de Ven
QA Contact: Brian Brock
Depends On:
TreeView+ depends on / blocked
Reported: 2002-02-22 23:49 UTC by Terry Griffin
Modified: 2007-04-18 16:40 UTC (History)
0 users

Clone Of:
Last Closed: 2002-02-27 21:43:04 UTC

Attachments (Terms of Use)

Description Terry Griffin 2002-02-22 23:49:47 UTC
Description of Problem:

The kernel gets in to a state where an NFS mounted directory appears to be empty when it's not,
and whenever I attempt to access this directory, a message of this form is logged:

     NFS: giant filename in readdir (len 0x47a0c092)

The NFS server is running HP-UX 10.20, NFSv2. Searching around on the web I found several
instances of this readdir() error that were associated with HP-UX NFS servers, indicating
a quirk in HP's NFSv2 implemenation.  However, something on the Linux client side is also
contributing because I was able to avoid the problem by upgrading to the 2.4.17 kernel from

See entry 55864 which also involves readdir().

Version-Release number of selected component (if applicable):


How Reproducible:

Get yourself an HP-UX NFS server running NFSv2. Populate a directory
tree on that server. Mount that directory tree from Linux. Start accessing
files and directories from Linux and see if you get any readdir() errors
in /var/log/messages. With these messages you should observe that
certain files or directories appear to be missing.

Steps to Reproduce:

Actual Results:

NFS files fail to appear in directory listings.

Expected Results:

Files should be in the directory listings.

Additional Information:

Comment 1 Terry Griffin 2002-02-27 21:42:59 UTC
I should have mentioned in the initial report that we also have some RH6.2 clients
mounting the same directories from the same HP-UX NFS server. They do not
have any issues with disappearing files on the NFS mounts.

Comment 2 Arjan van de Ven 2002-02-28 10:15:02 UTC
2.4.17 has a workaround for the hp bug. The rawhide 2.4.17/2.4.18 kernels have
that too....

Note You need to log in before you can comment on or make changes to this bug.