[Heads Up] I will soon be committing NFS diskless root changes

Rick Macklem rmacklem at uoguelph.ca
Wed Sep 1 23:38:49 UTC 2010


I will soon commit a change to the NFS diskless client code
in the kernel in preparation for the commits that will make
pxeboot use NFSv3 instead of NFSv2.

If you build a kernel with this nfs_diskless.c commit but do
not replace pxeboot and the loader, it should work, but will
use NFSv2 for the root fs by default. You can make it use
NFSv3 by specifying "nfsv3" in the options in the /etc/fstab
entry for /.

Once the new pxeboot and loader commits are in head, the
pxeboot and loader built from them will use NFSv3 and create
an additional environment variable called
boot.nfsroot.nfshandlelen which tells nfs_diskless.c to use
NFSv3 and the correct file handle length. This should allow
the use of non-FreeBSD NFS servers (which have different
file handle lengths than FreeBSD) to work for a diskless
NFS root file system.

Hopefully this will not cause you much grief, rick


More information about the freebsd-current mailing list