Re: zfs sharenfs woes

From: Dag-Erling_Smørgrav <des_at_FreeBSD.org>
Date: Thu, 24 Jul 2025 12:49:27 UTC
void <void@f-m.fm> writes:
> Because of a zfs-related crash to debugger, zfs_enable="YES" was
> subsequently commented out. That got fixed. At the time of the crash
> it was not commented. The system does not have zroot.
> The boot disk is ufs2.
>
> Then zfs was loaded manually via kldload. The zpool imported with
> -a. Then zfs share -a. The shares could not be seen until I copied
> /etc/zfs/exports
> to /etc/exports and stopped mountd rpcbind and nfs then service nfsd start.
>
> It's all working now. All I need to do is uncomment the zfs_enable line in
> the /etc/rc.conf so the zpool comes back when rebooted.

zfs_enable=yes is necessary not only to mount the pool at boot but also
to instruct mountd to look at /etc/zfs/exports.

DES
-- 
Dag-Erling Smørgrav - des@FreeBSD.org