Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 19 Apr 2013 05:54:41 GMT
From:      "Mihai M." <mmihai@delajii.net>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   kern/177971: FreeBSD 9.1 nfs client dirlist problem w/ nfsv3, rsize=4096, wsize=4096 
Message-ID:  <201304190554.r3J5sfIp058583@red.freebsd.org>
Resent-Message-ID: <201304190600.r3J601rm045726@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>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@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:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201304190554.r3J5sfIp058583>