NFSv4 - how to set up at FreeBSD 8.1 ?

John Baldwin jhb at freebsd.org
Wed Jan 5 13:00:24 UTC 2011


On Wednesday, January 05, 2011 5:55:53 am perryh at pluto.rain.com wrote:
> Rick Macklem <rmacklem at uoguelph.ca> wrote:
> 
> > ... one of the fundamental principals for NFSv2, 3 was a stateless
> > server ...
> 
> Only as long as UDP transport was used.  Any NFS implementation that
> used TCP for transport had thereby abandoned the stateless server
> principle, since a TCP connection itself requires that state be
> maintained on both ends.

Not filesystem cache coherency state, only socket state.  And even NFS UDP 
mounts maintain their own set of "socket" state to manage retries and 
retransmits for UDP RPCs.  The filesystem is equally incoherent for both UDP 
and TCP NFSv[23] mounts.  TCP did not change any of that.

-- 
John Baldwin


More information about the freebsd-stable mailing list