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

Mihai M. mmihai at
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
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Fri Apr 19 06:00:00 UTC 2013
>Originator:     Mihai M.
>Release:        9.1-RELEASE
FreeBSD cronus.delajii 9.1-RELEASE FreeBSD 9.1-RELEASE #0 r243826: Tue Dec  4 06:55:39 UTC 2012     root at  i386

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 as server, same result. The works ok under FreeBSD 8.2.

mount -o nfsv3,rsize=4096,wsize=4096 server:/export /mnt

Run the python program from

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).


More information about the freebsd-bugs mailing list