From nobody Mon Dec 1 15:37:23 2025 X-Original-To: freebsd-fs@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4dKp1j2L5dz6JlN0 for ; Mon, 01 Dec 2025 15:37:29 +0000 (UTC) (envelope-from void@f-m.fm) Received: from fout-a2-smtp.messagingengine.com (fout-a2-smtp.messagingengine.com [103.168.172.145]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4dKp1d63KYz3TVy for ; Mon, 01 Dec 2025 15:37:25 +0000 (UTC) (envelope-from void@f-m.fm) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=f-m.fm header.s=fm1 header.b="TU3TP3/M"; dkim=pass header.d=messagingengine.com header.s=fm1 header.b=S+TX1o+A; dmarc=pass (policy=none) header.from=f-m.fm; spf=pass (mx1.freebsd.org: domain of void@f-m.fm designates 103.168.172.145 as permitted sender) smtp.mailfrom=void@f-m.fm Received: from phl-compute-02.internal (phl-compute-02.internal [10.202.2.42]) by mailfout.phl.internal (Postfix) with ESMTP id 78DDAEC063B for ; Mon, 1 Dec 2025 10:37:25 -0500 (EST) Received: from phl-mailfrontend-01 ([10.202.2.162]) by phl-compute-02.internal (MEProxy); Mon, 01 Dec 2025 10:37:25 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=f-m.fm; h=cc :content-type:content-type:date:date:from:from:in-reply-to :in-reply-to:message-id:mime-version:references:reply-to:subject :subject:to:to; s=fm1; t=1764603445; x=1764689845; bh=5GjBxQ++Yw zd5Kuu+yyuMGf8ykfNzzgMRmVZeL/KzZ8=; b=TU3TP3/M4uXtgSZivmx5LNZa6u W2Y39Bx3NOKRROBJzc1DttOJIY+NwIG9divM1EpxsLGVGP1gJ6KU7P8HnAz1NI4b RdQAO+G3+mmVSh0zOOWDYcT1AldFHuFNPixJtRXF10GgjppTridwdUqOh2QVJOl5 ZVg/MOPo3I7XjvZi6QncXEkvJ5lpwJvSQGWMtWs+m8VcDTRn/2MeUqxtPDIEOaDe YLJquo/n8ErEl3RuowtkLkfDslJ+txeSoi/P/O5Ly5GzwsfsSgr1pN3mNJeRb3ZA 08OBH85iFowpgJW9lvdYxvavM1k4dm6Kc58V9M5V0sDWmiyXlJQh23Y6KImQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:content-type:date:date :feedback-id:feedback-id:from:from:in-reply-to:in-reply-to :message-id:mime-version:references:reply-to:subject:subject:to :to:x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm1; t= 1764603445; x=1764689845; bh=5GjBxQ++Ywzd5Kuu+yyuMGf8ykfNzzgMRmV ZeL/KzZ8=; b=S+TX1o+AZVbe7Kh7cDe74VK4b2iSWO8djGymFYPT95o0okrk4nN SziRdtnro0wOXWqC/tZEVIFPujIvK5a8I0tCIVriBV8cZlS7h4EvZ/VL1OTL4tz8 gWfGo2FgxpmrSIM5y+fd1NBR/SRaj3UCofODobsB2WuPRk689pFMKexO0Wh4YWaC YdhihhddiTSc4nfm3hvk2hnCKyGujQOA0AwqRcsRtJdNvApm5LCdP3sKdE4LyjiX AjECB1u2uPG7y6WjhcLNk8Vr+tK1oPnM5CcQXhAWrol6/KCE8eIDxD4WuHBWCOrO Z5UGMZypkpED9gWRvbCxGYHlCpysuQDiPcw== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeeffedrtdeggddvheektdelucetufdoteggodetrf dotffvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfurfetoffkrfgpnffqhgenuceu rghilhhouhhtmecufedttdenucenucfjughrpeffhffvuffkfhggtggujgesthdtredttd dtvdenucfhrhhomhepvhhoihguuceovhhoihgusehfqdhmrdhfmheqnecuggftrfgrthht vghrnhepkeeluddvlefhieelfefggffhffektdehleelgfdugfdvgeekjeejuddtheehgf eunecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomhepvhho ihgusehfqdhmrdhfmhdpnhgspghrtghpthhtohepuddpmhhouggvpehsmhhtphhouhhtpd hrtghpthhtohepfhhrvggvsghsugdqfhhssehfrhgvvggsshgurdhorhhg X-ME-Proxy: Feedback-ID: i2541463c:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA for ; Mon, 1 Dec 2025 10:37:24 -0500 (EST) Date: Mon, 1 Dec 2025 15:37:23 +0000 From: void To: freebsd-fs@freebsd.org Subject: Re: problems setting up nfsv3 (zfs sharenfs) client,server Message-ID: Mail-Followup-To: freebsd-fs@freebsd.org References: List-Id: Filesystems List-Archive: https://lists.freebsd.org/archives/freebsd-fs List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-fs@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Disposition: inline In-Reply-To: X-Spamd-Bar: --- X-Spamd-Result: default: False [-3.17 / 15.00]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_SHORT(-0.57)[-0.570]; DMARC_POLICY_ALLOW(-0.50)[f-m.fm,none]; MID_RHS_NOT_FQDN(0.50)[]; R_DKIM_ALLOW(-0.20)[f-m.fm:s=fm1,messagingengine.com:s=fm1]; R_SPF_ALLOW(-0.20)[+ip4:103.168.172.128/27]; RCVD_IN_DNSWL_LOW(-0.10)[103.168.172.145:from]; MIME_GOOD(-0.10)[text/plain]; FREEMAIL_FROM(0.00)[f-m.fm]; RCVD_TLS_LAST(0.00)[]; ARC_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; RCVD_COUNT_THREE(0.00)[3]; RCPT_COUNT_ONE(0.00)[1]; TO_MATCH_ENVRCPT_ALL(0.00)[]; FROM_HAS_DN(0.00)[]; FREEMAIL_ENVFROM(0.00)[f-m.fm]; TO_DN_NONE(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; DKIM_TRACE(0.00)[f-m.fm:+,messagingengine.com:+]; PREVIOUSLY_DELIVERED(0.00)[freebsd-fs@freebsd.org]; RCVD_VIA_SMTP_AUTH(0.00)[]; MLMMJ_DEST(0.00)[freebsd-fs@freebsd.org]; MISSING_XM_UA(0.00)[]; DWL_DNSWL_NONE(0.00)[messagingengine.com:dkim] X-Rspamd-Queue-Id: 4dKp1d63KYz3TVy 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 --