Heads Up: NFS clients can now fail "mount -u -o udp..."

From: Rick Macklem <rmacklem_at_uoguelph.ca>
Date: Tue, 24 Jan 2012 19:32:02 -0500 (EST)
Hi,

r230516, which was just committed to head/current, will result in
a "mount -u -o udp /path" failing if the mount is using an
rsize/wsize/readdirsize of greater than 16384 (which will be the
case of a default sized TCP mount).

As such, specifying "udp" or "mntudp" options in the /etc/fstab
entry for "/" on a diskless NFS client could result in the "mount -u"
failing. I'd suggest that "udp" and "mntudp" be avoided for this
case, if you are using the default of TCP for the root mnt done
when the diskless client is booted.

The discussion on freebsd-fs_at_ seemed to indicate returning an error
was preferable to silently ignoring the "udp/mntudp" option for this
case.

Hopefully this won't cause many people grief, rick
ps: Since doing the above could cause errors with both the NFS
    clients for the root, I suspect few do the above.
Received on Tue Jan 24 2012 - 23:32:03 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:23 UTC