NFS服务的开启
Ubuntu开启NFS服务
问题
- 当查找不到一台服务的NFS服务的时候如下状况的时候
[root@localhost ~]# showmount -e 192.168.0.175
clnt_create: RPC: Port mapper failure - Unable to receive: errno 113 (No route to host)
解决方案
可以执行以下命令:
- 关闭防火墙
systemctl stop firewalld && systemctl disable firewalld
- 启动RPC
/etc/init.d/rpcbind restart
- 启动NFS
/etc/init.d/nfs-kernel-server restart
Centos开启NFS服务
/bin/systemctl start rpcbind.service
/bin/systemctl start nfs.service