No Solaris, eu habilito o nfs4 com essas opções
vim /etc/default/nfs
# Sets the minimum version of the NFS protocol that will be registered
# and offered by the server. The default is 2.
NFS_SERVER_VERSMIN=4
# Sets the maximum version of the NFS protocol that will be registered
# and offered by the server. The default is 4.
NFS_SERVER_VERSMAX=4
Eu tento o mesmo no Linux (a sintaxe é diferente)
RPC_NFSD_OPTS="-N 2 -N 3"
A montagem NFS funciona em todos os hosts. Mas uma coisa muito estranha acontece com o RPC
No Linux
rpcinfo -t 192.168.0.2 nfs
192.168.0.2: RPC: Program not registered
No Solaris
rpcinfo -t 192.168.201.3 nfs
program 100003 version 4 ready and waiting
Por que o rpc não registra o nfs4 no Linux? A distribuição Linux é o Slackware 15.0 kernel versão 6.11.10
Solução encontrada: provavelmente um erro nos scripts. Explico:
Eu reinicio (todos os comandos rodam no Linux)
Reinicio o rpc e o nfs
e...