Cannot list a particular directory through NFS with UDP

Rick Macklem rmacklem at uoguelph.ca
Mon Dec 14 16:05:09 UTC 2009



On Mon, 14 Dec 2009, Jeremie Le Hen wrote:

> Hi,
>
> __ Please Cc: me when replying as I'm not subscribed.  Thanks. __
>
> My NFS server is running FreeBSD 8.0 from December 6th.  The client is a
> NetBSD 5.0.  The directory exported is /data/repos on the server
> (192.168.1.222) and is mounted on /mnt/repos on the client (192.168.1.1).
>
> The problem exists in /data/repos/netbsd-cvsroot/pkgsrc when using NFS
> over UDP: ls(1) stalls.  OTOH, for instance, listing another directory
> or using NFS over TCP work flawlessly.
>

I'll take a look and let you know if I can think of anything.
A couple of things:
- What arch/net interface is the server running?
   - I haven't seen any issues w.r.t. i386, so I'm thinking it might be
     some sort of 64bit/alignment problem. (dfr@ replaced the RPC transport
     code with a new krpc subsystem for FreeBSD8.0 and known issues w.r.t.
     alignment were fixed, but there may be more)

If you wanted to, you could try using the experimental server instead
(-e option for mountd and nfsd), just to see if that makes the problem
go away. (It handles mbuf lists/alignment somewhat differently.)

Good luck with it and I'll let you know if I spot anything, rick


More information about the freebsd-stable mailing list