Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 1 Sep 2010 19:38:31 -0400 (EDT)
From:      Rick Macklem <rmacklem@uoguelph.ca>
To:        freebsd-current@freebsd.org
Subject:   [Heads Up] I will soon be committing NFS diskless root changes
Message-ID:  <1515778739.398067.1283384311585.JavaMail.root@erie.cs.uoguelph.ca>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1515778739.398067.1283384311585.JavaMail.root>