rpcbind服务引起的nfs链接报错

在nfs客户端用 showmount -e 命令时报错:

clnt_create: RPC: Port mapper failure - Unable to receive: errno 111 (Connection refused)

解决办法

    在服务端重启rpcbind服务:systemctl restart rpcbind  (如果是7以前的系统用service rpcbind restart命令)

  此时再在nfs客户端用 showmount -e 命令报错:clnt_create: RPC: Program not registered

  解决办法:

    在服务端重启nfs服务

原文地址:https://www.cnblogs.com/gchen-frank/p/13656037.html