Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 1 Dec 2025 14:06:50 +0000
From:      void <void@f-m.fm>
To:        freebsd-fs@freebsd.org
Subject:   problems setting up nfsv3 (zfs sharenfs) client,server
Message-ID:  <aS2g-vhe41nMvSzF@int21h>

next in thread | raw e-mail | index | archive | help

Hi,

I'm having problems getting a zfs sharenfs (nfsv3) server working
in a new instance (despite successfully setting up one years earlier)
The main differences being, a later freebsd version and the disk that
needs nfs mounting is external usb3 zpool stripe.

freebsd server: stable/15-n281343-56275b7b0672 GENERIC amd64 1500502 1500502
zpool:
   NAME          STATE     READ WRITE CKSUM
     external20tb  ONLINE       0     0     0
       da0         ONLINE       0     0     0

The server is 192.168.1.230. The client is 192.168.1.181 16.0-CURRENT #0 main-n281958 
nodebug amd64. Both are on internal LAN behind a firewall. Neither machine runs a 
firewall for the moment.

For testing I created a share like so

# zfs set sharenfs="on" external20tb

on the server. it has the following in rc.conf

rpcbind_enable="YES"
weak_mountd_authentication="YES"
nfs_server_enable="YES"
nfs_server_flags="-u -t --minthreads=12 --maxthreads=120"
mountd_enable="YES"
rpc_statd_enable="YES"
rpc_lockd_enable="YES"

started the server and then on the client set nfs_client_enable=YES in its rc.conf
then ran

# showmount -e 192.168.1.230
Exports list on 192.168.1.230:
/external20tb                      Everyone

then

# service nfsclient start
NFS access cache time=60

then edited /etc/fstab and added

192.168.1.230:/external20tb /mnt nfs rw,readahead=16,late 0 0

then tried

# mount /mnt

but I still get

[tcp] 192.168.1.230:/external20tb: RPCPROG_NFS: RPC: Program not registered

??? what am I doing wrong??

-- 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?aS2g-vhe41nMvSzF>