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: Thu, 07 Aug 2025 14:18:17 UTC
On Tue, Aug 5, 2025 at 4:42 AM Aurélien Couderc
<aurelien.couderc2002@gmail.com> wrote:
>
> On Wed, Jun 4, 2025 at 10:43 PM Rick Macklem <rick.macklem@gmail.com> wrote:
> >
> > 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
> >
>
> Rick, how long will it take until O_NAMEDATTR will work on a standard
> FreeBSD with ZFS?
It just landed in FreeBSD's main, so it should be in the next 15.0 snapshot.
(They usually generate snapshots on Thursdays, so it probably didn't make
it in the one that will come out to-day.)

rick

>
> Aurélien
> --
> Aurélien Couderc <aurelien.couderc2002@gmail.com>
> Big Data/Data mining expert, chess enthusiast