Heads up: default nfs client switched to new one

From: Rick Macklem <rmacklem_at_uoguelph.ca>
Date: Wed, 27 Apr 2011 13:59:49 -0400 (EDT)
The commit r221124 switches the default NFS client to the new one in head.
The fstype "newnfs" is now "nfs" and the regular/old NFS client is
now fstype "oldnfs". As such, "mount -t nfs ..." will use the new client.

Although most kernels will still work with the old mount(8) and
mount_nfs(8) binaries (the exception is one built with "options NFSCL"
but not "options NFSCLIENT"), you should build fresh mount(8) and
mount_nfs(8) binaries.

To use the old NFS client...
You'll need new binaries for mount(8) and mount_nfs(8), plus a link
in /sbin to mount_nfs called mount_oldnfs.
Then you can use the old NFS client via:

mount -t oldnfs ...

Systems using a diskless root NFS fs will need to have the new client
linked into their kernels via "options NFSCL". Both "options NFSCL"
and "options NFSCLIENT" can be specified for the kernel. If you do
that, you can switch back to the old NFS client by changing the fstype
field of etc/fstab for the root fs on the NFS server to "oldnfs" plus adding a
line like:

vfs.root.mountfrom="oldnfs:"

to boot/loader.conf in the root fs on the server.

Hopefully, you won't need to do anything to keep things working
and this won't cause you grief, rick
Received on Wed Apr 27 2011 - 15:59:50 UTC

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