Cannot list a particular directory through NFS with UDP

Jeremie Le Hen jeremie at le-hen.org
Mon Dec 14 18:55:23 UTC 2009


On Mon, Dec 14, 2009 at 10:50:40AM -0500, John Baldwin wrote:
> 
> It looks like the NFS client does not like the replies to the 3819288094
> request.  Can you grab nfsstat output before and after a retransmit of
> the request and reply to see which counters are increased?  This might
> indicate why the reply is not being accepted.

Premices (replayed each time to have the exact same cache):
    # umount /mnt/repos
    # mount -t nfs -o intr,soft obiwan:/data/repos /mnt/repos
    # cd /mnt/repos/netbsd-cvsroot
    # ls

Running ls(1) on a "good" directory shows the following difference:

    # ls src

Server:			Client:
    - +3 getattr	    - +3 getattr
    - +1 lookup		    - +1 lookup
    - +1 readdir	    - +1 readdir
    - +1 access		    - +1 access
			Client cache:
			    - +9 attrcache
			    - +2 lookupcache
			    - +2 readdir
			    - +2 direofcache

Running ls(1) on the "bad" directory shows the following difference:

    # ls pkgsrc

Server:			Client:
    - +3 getattr	    - +3 getattr
    - +1 lookup		    - +1 lookup
    - +1 readdir	    - +1 readdir
    - +3 access		    - +3 access
			Client cache:
			    - +5 attrcache
			    - +1 lookupcache

Both scenarios show no error.

Regards,
-- 
Jeremie Le Hen

Humans are born free and equal.  But some are more equal than others.
					    Coluche


More information about the freebsd-stable mailing list