Re: zfs sharenfs woes
- Reply: Dag-Erling_Smørgrav : "Re: zfs sharenfs woes"
- In reply to: Dag-Erling_Smørgrav : "Re: zfs sharenfs woes"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 23 Jul 2025 14:15:02 UTC
On Wed, Jul 23, 2025 at 01:45:37PM +0200, Dag-Erling Smørgrav wrote: >void <void@f-m.fm> writes: >> 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! > >Your server is misconfigured. Please show me the output of this >command: > ># grep -r zfs /etc/rc.conf* 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. --