Re: zfs sharenfs woes
- Reply: void : "Re: zfs sharenfs woes"
- In reply to: void : "zfs sharenfs woes"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 22 Jul 2025 13:16:36 UTC
On Tue, Jul 22, 2025 at 6:10 AM void <void@f-m.fm> wrote: > > I have a problem getting sharenfs working. showmount -e displays an empty list. > > On the server (15-current-n278914) 192.168.1.102 > > /etc/rc.conf : > # NFS > rpcbind_enable="YES" > nfs_server_enable="YES" > mountd_enable="YES" > > # zfs get sharenfs data/testnfs > > data/testnfs sharenfs maproot=root -alldirs -network 192.168.1.100/32 local > > in /etc/zfs/exports : > > /data/testnfs -maproot=root -alldirs -network 192.168.1.100/32 I would have expressed exporting to a single client by just specifying "192.168.1.100" instead of "-network 192.168.1.100/32", but I'm not sure if what you did is a problem? > > I'm trying to sharenfs to 192.168.1.100 (client, same freebsd version) > > /etc/rc.conf client : > > nfs_client_enable="YES" > > I start nfsd on the server: > > # service nfsd start > NFS on reserved port only=YES > NFSv4 is disabled > Starting rpcbind. > Starting mountd. > Starting nfsd. > > on the client: > > % doas showmount -e 192.168.1.102 > Exports list on 192.168.1.102: > > the network is internal and there is no firewall active on either machine. > What am I doing wrong? Did you look in /var/log/messages to see if mountd reports any error? (Such as not liking 192.168.1.100/32 above.) rick > -- >