showmount: RPC: Program/version mismatch
With an NFS server is configured for NFSv3 as the minimum:
# sharectl set -p server_versmin=3 nfs
and without the fix for #15702 we get the error:
$ showmount -e server showmount: server: RPC: Program not registered
For testing this, I did monitor server traffic with 'snoop rpc mount' and tested showmount, dfmounts and dfshares commands from client systems. Confirmed the highest available version was used; MacOS showmount is always using version 1 and was working as expected.
To test higher versions and fallbacks, I was using modified mountd server, which had version 3 or version 2 disabled (note it does not help to unregister version from rpcbind). The patched programs did fall back to highest available mount protocol version, as expected.
Updated by Electric Monk about 1 month ago
- Status changed from Pending RTI to Closed
- % Done changed from 90 to 100
commit a2f332bbcd749567eb464acdc1913e7bde22f36e Author: Toomas Soome <email@example.com> Date: 2023-08-22T16:46:00.000Z 15703 showmount: RPC: Program/version mismatch Reviewed by: Igor Kozhukhov <firstname.lastname@example.org> Reviewed by: Gordon Ross <email@example.com> Approved by: Dan McDonald <firstname.lastname@example.org>