Re: FreeBSD nfsroot - will it work with NFSv4.2?

Rick Macklem <[email protected]>
Newsgroups gmane.os.freebsd.devel.hackers
Message-ID <CAM5tNy4gtuZabRW27T2Xi-u84fd4qTrGd3zPE=ezq9AYFC_suw@mail.gmail.com>
On Thu, Feb 19, 2026 at 2:23 PM Dan Shelton <[email protected]> wrote:
>
> Hello,
>
> Will a FreeBSD 15.0 diskless setup with nfsroot work with NFSv4.2?
Nope. On FreeBSD a diskless NFS root fs must be NFSv3.
(There are various bootstrap issues, such as a standalone NFS client
that does not do NFSv4.  There is also the handling of
uid/gid<-->user/group name
mappings by nfsuserd, which cannot be running until it is booted.
Yes, there are ways to handle the mappings:
- Do it like Linux and insist that it be uid/gid numbers in the strings.
or
- Hardwire enough mappings in the kernel to get the system going so
  that nfsuserd can run.

Since there has not been any demand for NFSv4 diskless root file
systems, it has not been done.

rick

>
> Dan
> --
> Dan Shelton - Cluster Specialist Win/Lin/Bsd
>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.