Operating System - Linux
1829341 Members
1558 Online
109989 Solutions
New Discussion

NFS: giant filename in readdir

 
SOLVED
Go to solution
Herr Fischlin
Occasional Contributor

NFS: giant filename in readdir

Hi!

We are running a C180 (HP-UX 10.20)
exporting a files system using nfs 2.
Everything is fine for HP-UX clients.
But now mounting the file system on
a SUSE 7.3 I receive several
errors saying "giant file name in readdir"
even for rather small directories. In general it works accept for these problems which occure regularly and slow down the Linux system. Using "wsize,size" with 1024 does not solve the problem. An idea?

Merci.
1 REPLY 1
Eugen Cocalea
Respected Contributor
Solution

Re: NFS: giant filename in readdir

Hi,

See the link:

http://www.uwsg.iu.edu/hypermail/linux/kernel/9906.1/0228.html

The error is caused because the default NFS_MAXNAMLEN is 255. Get the sources from your kernel, edit the file $SRC_DIR/include/linux/nfs.h and put a bigger value instead of 255.

E.
To Live Is To Learn