挂载nfs服务器报错:mount: mount to NFS server '192.168.79.194' failed: System Error: No route to host.
2017-06-23 13:36
3459 查看
解决办法:
关闭nfs服务器防火墙:/etc/init.d/iptables stop
另外,客户端需安装nfs:yum install nfs*
启动nfs service nfs start
在nfs服务器上vim /etc/exports,加入
/share 192.168.79.198(rw,insecure,no_root_squash,sync)
/shareback 192.168.79.198(rw,insecure,no_root_squash,sync)
/nfs623(nfs服务器的目录) 192.168.77.12(rw,insecure,no_root_squash,sync)(客户端地址及相关权限)
~
rw:共享目录可读可写
insecure:允许客户端从大于1024的tcp/ip端口连接服务器;
sync:将数据同步写入内存缓冲区与磁盘中,效率低,但可以保证数据的一致性
no_root_squash:来访的root用户保持root帐号权限;
(root_squash(默认):将来访的root用户映射为匿名用户或用户组;)
[root@nfsserver ~]# exportfs -ar(执行后修改生效)
/share 192.168.79.198
/shareback 192.168.79.198
/nfs623 192.168.77.12
关闭nfs服务器防火墙:/etc/init.d/iptables stop
另外,客户端需安装nfs:yum install nfs*
启动nfs service nfs start
在nfs服务器上vim /etc/exports,加入
/share 192.168.79.198(rw,insecure,no_root_squash,sync)
/shareback 192.168.79.198(rw,insecure,no_root_squash,sync)
/nfs623(nfs服务器的目录) 192.168.77.12(rw,insecure,no_root_squash,sync)(客户端地址及相关权限)
~
rw:共享目录可读可写
insecure:允许客户端从大于1024的tcp/ip端口连接服务器;
sync:将数据同步写入内存缓冲区与磁盘中,效率低,但可以保证数据的一致性
no_root_squash:来访的root用户保持root帐号权限;
(root_squash(默认):将来访的root用户映射为匿名用户或用户组;)
[root@nfsserver ~]# exportfs -ar(执行后修改生效)
/share 192.168.79.198
/shareback 192.168.79.198
/nfs623 192.168.77.12
相关文章推荐
- [NFS mount Error] System Error: No route to host.
- 嵌入式系统nfs挂载问题解决(mount: RPC: Unable to receive; errno = No route to host)
- ok6410挂载fedora nfs 解决mount: RPC: Unable to receive; errno = No route to host
- mount:RPC:Unable to receive;errno=No route to host原因及nfs安装
- mount nfs server to board failed, pops up "mount: mounting ... failed: No such device"
- FTP server "No Route to Host" Fedora
- mount: RPC: Unable to receive; errno = No route to host
- Unable to load NLS charset,U盘挂载不了,USB挂载时提示“No Such Device”,mount: Mounting /dev/sda1 on /mnt failed
- rsync: failed to connect to x.x.x.x: No route to host (113)
- android报错:connect failed: EHOSTUNREACH (No route to host)
- rsync: failed to connect to X.X.X.X: No route to host (113)
- mount: mount to NFS server 'servtest' failed: timed out (retrying).
- nfs配置以及No route to host解决
- mount: RPC: Unable to receive; errno = No route to host
- rsync: failed to connect to X.X.X.X: No route to host (113)
- rsync: failed to connect to X.X.X.X: No route to host (113)
- rsync: failed to connect to X.X.X.X: No route to host (113)
- android手机连接服务器报no route to host
- NFS挂载文件系统:unable to get mount port number from server, using default
- mount:RPC:Unable to receive;errno=No route to host