kern/177971: FreeBSD 9.1 nfs client dirlist problem w/ nfsv3, rsize=4096, wsize=4096

Mihai M. mmihai at delajii.net
Fri Apr 19 06:00:01 UTC 2013


>Number:         177971
>Category:       kern
>Synopsis:       FreeBSD 9.1 nfs client dirlist problem w/ nfsv3,rsize=4096,wsize=4096
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Fri Apr 19 06:00:00 UTC 2013
>Closed-Date:
>Last-Modified:
>Originator:     Mihai M.
>Release:        9.1-RELEASE
>Organization:
>Environment:
FreeBSD cronus.delajii 9.1-RELEASE FreeBSD 9.1-RELEASE #0 r243826: Tue Dec  4 06:55:39 UTC 2012     root at obrian.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC  i386

>Description:
9.1-RELEASE nfs client seems to have a problem with dir read (listing) when
the system is mounted with nfsv3,rsize=4096,wsize=4096 or
nfsv3,rsize=2049,wsize=2048 (may be others sizes too). Some of the file
names are missing from the result and others are duplicated. Tried with
7.2-STABLE FreeBSD and Linux 2.6.32.12 as server, same result. The
nfs_bug.py works ok under FreeBSD 8.2.

>How-To-Repeat:
mount -o nfsv3,rsize=4096,wsize=4096 server:/export /mnt

Run the python nfs_bug.py program from 

http://www.delajii.net/mmWiKi/_media/docs:code:nfs_bug.py

>Fix:
Mounting the nfs dir with defaults does not show the problem. Changing to nfsv2 or other rsize/wsize combinations seem to be ok (i.e. rsize=8192,wsize=8192 looks ok for now).


>Release-Note:
>Audit-Trail:
>Unformatted:


More information about the freebsd-bugs mailing list