Re: FreeBSD NFSv4.1 nfsd, named attribute support (OPENATTR) via O_NAMEDATTR / Re: FreeBSD NFSv4.1 nfsd, named attribute support (OPENATTR)?

From: Rick Macklem <rick.macklem_at_gmail.com>
Date: Wed, 04 Jun 2025 20:42:44 UTC
On Wed, Jun 4, 2025 at 11:05 AM Cedric Blancher
<cedric.blancher@gmail.com> wrote:
>
> On Wed, 9 Apr 2025 at 16:32, Rick Macklem <rick.macklem@gmail.com> wrote:
> >
> > On Wed, Apr 9, 2025 at 1:29 AM Cedric Blancher
> > <cedric.blancher@gmail.com> wrote:
> > >
> > > 1. Which tag in https://github.com/freebsd/freebsd-src should I check
> > > out for building?
> > Oh, you need the main branch.
>
> Sorry, I was sick for the better part of the month.
>
> @rick & @lionel:
> What is the status here? Is there a FreeBSD ISO image which can be
> used for testing this with FreeBSD nfsd+FreeBSD NFSv4.1 client with an
> exported ZFS?
Not unless you are willing to apply the ZFS patch and build/install a kernel
from those modified sources. (The ZFS patch is still under review for OpenZFS.)

If you are willing to do the above (it should be pretty easy), grab the most
recent 15.0 snapshot from here... anonymous ftp at ftp.freebsd.org
pub/FreeBSD/snapshots/ISO-IMAGES/15.0
Then, for x86-64, choose one with "amd64" and disc1" in the name.

After installing it (click on the "src" box)..
Grab the ZFS patch from here...
https://people.freebsd.org/~rmacklem/zfs-xattr.patch
and apply it to /usr/src.
The in /usr/src..
make buildkernel
make installkernel
- and reboot
You will have to configure the NFSv4 server (there should be docs
for that found via your favourite search engine).

If you try the above and have difficulties, email and I may be able to
help, rick


>
> Ced
> --
> Cedric Blancher <cedric.blancher@gmail.com>
> [https://plus.google.com/u/0/+CedricBlancher/]
> Institute Pasteur