* Re: Bug: 2.5.47 NFS reports giant filename in readdir
@ 2002-11-19 20:17 Felipe Alfaro Solana
0 siblings, 0 replies; 5+ messages in thread
From: Felipe Alfaro Solana @ 2002-11-19 20:17 UTC (permalink / raw)
To: trond.myklebust, Felipe Alfaro Solana; +Cc: nfs
[-- Attachment #1: Type: text/plain, Size: 1385 bytes --]
--- SERVER-SIDE ---
===================
Name: glass
Pentium IV 2Ghz
512MB RAM
RedHat 8.0
2.5.47 Kernel
/etc/exports:
/ 192.168.0.0/255.255.255.0(rw,async,no_root_squash)
/data 192.168.0.0/255.255.255.0(rw,async,no_root_squash)
--- CLIENT-SIDE ---
===================
Name: teapot
Pentium III 700Mhz
256MB RAM
RedHat 7.3 highly patched with RPMs from RedHat RawHide
2.4.20-rc2-ac1 Kernel (this time without the patch you sent me)
/etc/fstab extract:
glass:/data /net/glass/data nfs noauto,users 0 0
Commands used:
# mount /net/glass/data
# cd /net/glass/data/Jpgs/Jpgs11
# ls
I ran "tcpdump -w capture -s 8192" just before issuing the "ls" command, and stopped it just after the "ls" command failed.
Please, don't hesitate to contact with me again for additional information or help :-)
Sincerely,
Felipe Alfaro Solana
----- Original Message -----
> 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
>
--
______________________________________________
http://www.linuxmail.org/
Now with POP3/IMAP access for only US$19.95/yr
Powered by Outblaze
[-- Attachment #2: capture.bz2 --]
[-- Type: application/octet-stream, Size: 5896 bytes --]
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Bug: 2.5.47 NFS reports giant filename in readdir
@ 2002-11-19 17:39 Felipe Alfaro Solana
2002-11-19 18:28 ` Trond Myklebust
0 siblings, 1 reply; 5+ messages in thread
From: Felipe Alfaro Solana @ 2002-11-19 17:39 UTC (permalink / raw)
To: trond.myklebust, Felipe Alfaro Solana; +Cc: nfs
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 <trond.myklebust@fys.uio.no>
Date: 18 Nov 2002 21:47:04 +0100
To: "Felipe Alfaro Solana" <felipe_alfaro@linuxmail.org>
Subject: Re: [NFS] Bug: 2.5.47 NFS reports giant filename in readdir
> >>>>> " " == Felipe Alfaro Solana <felipe_alfaro@linuxmail.org> 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
>
--
______________________________________________
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 - NFS@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nfs
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Bug: 2.5.47 NFS reports giant filename in readdir
2002-11-19 17:39 Felipe Alfaro Solana
@ 2002-11-19 18:28 ` Trond Myklebust
0 siblings, 0 replies; 5+ messages in thread
From: Trond Myklebust @ 2002-11-19 18:28 UTC (permalink / raw)
To: Felipe Alfaro Solana; +Cc: nfs
>>>>> " " == Felipe Alfaro Solana <felipe_alfaro@linuxmail.org> 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 - NFS@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nfs
^ permalink raw reply [flat|nested] 5+ messages in thread
* Bug: 2.5.47 NFS reports giant filename in readdir
@ 2002-11-18 19:21 Felipe Alfaro Solana
2002-11-18 20:47 ` Trond Myklebust
0 siblings, 1 reply; 5+ messages in thread
From: Felipe Alfaro Solana @ 2002-11-18 19:21 UTC (permalink / raw)
To: nfs
Hello,
I'm currently testing kernel 2.5.47 on a RedHat 8.0 server machine, serving files through NFS among many other things. Since I'm using 2.5.47, there are several directories I'm unable to browse using NFS from my laptop running 2.4.20-rc1.
This is "/etc/exports" on the 2.5.47 machine:
/ 192.168.0.0/255.255.255.0(rw,async,no_root_squash)
/data 192.168.0.0/255.255.255.0(rw,async,no_root_squash)
And these are the commands I use on the 2.4.20-rc1 machine to mount and browse the directory using NFS:
# mount glass:/data /net/glass/data
# cd /net/glass/data/Jpgs/Jpgs11
# ls
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:
NFS: giant filename in readdir (len 14000000)!
NFS: giant filename in readdir (len 40404000)!
NFS: giant filename in readdir (len f000000)!
I haven't been able to find any debugging information or message on the server side. dmesg reports nothing, and all log files contain no clue about this error.
I think this must be a bug on 2.5.47 as this works great when using the latest RedHat 8.0 kernel on the server side.
I can't supply more information as I don't know exactly where to start looking.
Please, do not hesitate to contact me for further information or assistance.
Thank you very much!
Sincerely,
Felipe Alfaro Solana
--
______________________________________________
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 - NFS@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nfs
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2002-11-19 20:17 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-11-19 20:17 Bug: 2.5.47 NFS reports giant filename in readdir Felipe Alfaro Solana
-- strict thread matches above, loose matches on Subject: below --
2002-11-19 17:39 Felipe Alfaro Solana
2002-11-19 18:28 ` Trond Myklebust
2002-11-18 19:21 Felipe Alfaro Solana
2002-11-18 20:47 ` Trond Myklebust
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.