Re: zfs sharenfs woes

From: Rick Macklem <rick.macklem_at_gmail.com>
Date: Wed, 23 Jul 2025 04:15:13 UTC
On Tue, Jul 22, 2025 at 5:41 PM void <void@f-m.fm> wrote:
>
> On Tue, Jul 22, 2025 at 08:26:32AM -0700, Rick Macklem wrote:
>
> >ps: All mountd does is read both /etc/exports and /etc/zfs/exports and
> >     concatenates them to-gether.
>
> Even after rebuilding and upgrading the base os it still didn't work.
>
> The /etc/exports was initially absent. I had to create (as root: 'touch /etc/exports')
> otherwise mountd would complain. Copied /etc/zfs/exports to /etc/exports
> then stopped mountd and rpcbind and nfsd then started nfsd which started the
> other two as well and now showmount -e nfs.server.ip from the client
> shows the exports!
Well, at least you got it working.
However, it's still a mystery. There must be something weird about
your /etc/zfs/exports, since all mountd does is read /etc/exports and
then /etc/zfs/exports, basically concatenating them to-gether.

From what you say above, it appears mountd could not read the
/etc/zfs/exports file?

rick

>
> tyvm for your help :D
> --
>