Date: Mon, 1 Dec 2025 15:37:23 +0000 From: void <void@f-m.fm> To: freebsd-fs@freebsd.org Subject: Re: problems setting up nfsv3 (zfs sharenfs) client,server Message-ID: <aS22M67od8uM-0vi@int21h> In-Reply-To: <CAM5tNy6U4S%2BQomtmkqJxOE40sH=%2BrYjPVwb-wUaUJr7BLf%2BWnw@mail.gmail.com> References: <aS2g-vhe41nMvSzF@int21h> <CAM5tNy6U4S%2BQomtmkqJxOE40sH=%2BrYjPVwb-wUaUJr7BLf%2BWnw@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
Hi Rick, thanks for looking at this On Mon, Dec 01, 2025 at 07:10:58AM -0800, Rick Macklem wrote: >I think you'll need rpcbind to be running in the client, too. It is. /etc/rc.conf has this nfs-related on the client: nfs_client_enable="YES" mountd_enable="YES" rpcbind_enable="YES" mountd_flags="-r" >That indicates that rpcbind doesn't have things registered. ># rpcinfo >on the server should show entries for mountd and nfs. Nothing specifically for nfs. I can paste rpcinfo without options if you need it though (there's a lot of output) # rpcinfo -s program version(s) netid(s) service owner 100000 2,3,4 local,udp6,tcp6,udp,tcp,netlink rpcbind superuser 100005 3,1 tcp,udp,tcp6,udp6 mountd superuser >Also, look in /var/log/messages for messages related to mountd. >(I'd try a "service mountd reload" and then look for messages.) If I don't copy /etc/zfs/exports to /etc/exports, then showmount -e 192.168.1.230 from the client doesn't work. But copying it, then reloading mountd, produces the following in /var/log/daemon.log, (and showmount works). Dec 1 14:57:06 desktop mountd[59263]: can't change attributes for /external20tb: MNT_DEFEXPORTED already set for mount 0xfffffe00d7f6e000 Dec 1 14:57:06 desktop mountd[59263]: bad exports list line '/external20tb' Dec 1 14:57:16 desktop rpc.lockd[77257]: Starting Dec 1 14:58:08 desktop mountd[97810]: can't change attributes for /external20tb: MNT_DEFEXPORTED already set for mount 0xfffffe00d7f6e000 Dec 1 14:58:08 desktop mountd[97810]: bad exports list line '/external20tb' If I echo "" > /etc/exports then service mountd reload, those errors go away but with or without modifying /etc/exports, the client still gets # mount /mnt [tcp] 192.168.1.230:/external20tb: RPCPROG_NFS: RPC: Program not registered [tcp] 192.168.1.230:/external20tb: RPCPROG_NFS: RPC: Program not registered --
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?aS22M67od8uM-0vi>
