Re: NFSd not registering on 14.2.

From: Zaphod Beeblebrox <zbeeble_at_gmail.com>
Date: Thu, 21 Nov 2024 20:55:56 UTC
I currently have:

nfs_server_enable="YES"
#nfsv4_server_enable="YES"
#nfsv4_server_only="YES"
nfs_server_flags="-t -h 2001:1928::8"
mountd_enable="YES"
mountd_flags="-h 2001:1928::8 -S"
rpcbind_enable="YES"
rpcbind_flags="-6 -L"

rpc_lockd_enable="YES"
rpc_statd_enable="YES"

on the server.

On Thu, Nov 21, 2024 at 3:52 PM Zaphod Beeblebrox <zbeeble@gmail.com> wrote:

> This a previously working situation with the client being 14.1.  The
> server was originally 13.3.  Is now 14.2-B1.
>
> I have tried the v4 enable, v4 only and no v4 setting.  The client mounts
> with
>
> yak:/home/dgilbert      /d/yak/home/dgilbert nfs rw,-3,-T,-l,-i,-b 0 0
> yak:/home/dclarke       /d/yak/home/dclarke nfs rw,-3,-T,-l,-i,-b 0 0
> saiga:/jail/pizza2/home/portal/calls    /d/pizza2/calls nfs
> rw,-3,-T,-l,-i,-b 0 0
>
> and gets
>
> [tcp6] saiga:/jail/pizza2/home/portal/calls: RPCPROG_NFS: RPC: Program not
> registered
> [tcp] saiga:/jail/pizza2/home/portal/calls: RPCPROG_NFS: RPC: Remote
> system error - Connection refused
>
> on mounting saiga.  Interestingly, yak (14.1p3) shares mount fine.
>
> On Thu, Nov 21, 2024 at 2:52 PM Garrett Wollman <wollman@bimajority.org>
> wrote:
>
>> <<On Thu, 21 Nov 2024 14:02:51 -0500, Zaphod Beeblebrox <
>> zbeeble@gmail.com> said:
>>
>> > I upgraded a 13.3 machine to 14.2-BETA1 this week.  Of the many things
>> it
>> > does, it is an NFS server for one thing.  I'm a little bit pulling my
>> hair
>> > out at this point, but the most glaring thing wrong is:
>>
>> Which NFS version have you configured it for?  If you enable
>> `nfsv4_server_only` in rc.conf, the NFSv3 functionality will be
>> disabled; NFSv4 does not use portmap/rpcbind.
>>
>> -GAWollman
>>
>>