Re: zfs sharenfs woes

From: Rick Macklem <rick.macklem_at_gmail.com>
Date: Tue, 22 Jul 2025 15:26:32 UTC
On Tue, Jul 22, 2025 at 7:52 AM void <void@f-m.fm> wrote:
>
> On Tue, Jul 22, 2025 at 07:37:31AM -0700, Rick Macklem wrote:
> >
> >However, mountd should throw out a message when an exports line fails.
> >Try doing "service mountd reload" and then see if that has generated any
> >message in /var/log/messages.
>
> Nothing new in /var/log/messages, alas. I'm baffled.
Yea, baffling all right. It almost seems like mountd is ignoring
/etc/zfs/exports for some reason.

You could try copying /etc/zfs/exports to /etc/exports and then
# service mountd reload
and see if that makes any difference?

Also, check your /etc/rc.conf on the server and see what
mountd_flags
is set to? (Options can override the /etc/exports and /etc/zfs/exports
default for where exports files are.)

And, I'd also "cat -v /etc/zfs/exports" to make sure no weird characters
are in it.

rick
ps: All mountd does is read both /etc/exports and /etc/zfs/exports and
     concatenates them to-gether.
> --
>