通过机顶盒mount build server的nfs时
root:# mount -t nfs 192.168.100.21:/home/cnh01994/nfsroot /mnt/nfs
rpcbind: server localhost not responding, timed out
RPC: failed to contact local rpcbind server (errno 5).
rpcbind: server localhost not responding, timed out
RPC: failed to contact local rpcbind server (errno 5).
lockd_up: makesock failed, error=-5
rpcbind: server localhost not responding, timed out
RPC: failed to contact local rpcbind server (errno 5).
加入-o nolock选项,root:# mount -o nolock -t nfs 192.168.100.21:/home/cnh01994/nfsroot /mnt/nfs则工作正常。
查询网上关于nolock的解释如下:
The nolock option prevents the exchange of file lock information between the NFS server and this NFS client. The server is not aware of file locks on this client, and vice versa.
Using the nolock option is required if the NFS server has its NFS file lock functionality in a broken or unimplemented state, but it works between any versions of NFS.
If another host accesses the same files as your application on this host, there may be problems if file lock information exchange is disabled.
A failure to maintain proper locking between a write operation on one host and a read operation on another may cause the reader to get incomplete or inconsistent data (reading a line/record/data structure that is only partly written).
A locking failure between two writers is likely to cause data loss/corruption, as the later write overwrites the earlier one. The changes made by the earlier write operation can be lost.
The error message "No locks available" would seem that the file locks are a finite resource, and all the available locks are in use. You might wish to check if the number of file locks per user is limited by "ulimit -x" settings, both on the NFS client and on the server.
You might also take a look at the logs of the NFS server, to see if there are any locking-related messages. Because the NFS server needs to keep track of the sum total of the locks of all its clients, any problem with lock resources would probably be seen there first.
可能是因为多个终端同时mount nfs引起,因为盒子本身就是通过nfs,boot起来的
failed RPC mount

0

收藏

上一篇:mdev的使用方法和原理 下一篇:在XP下搭建QT4.6.2与VS...
mount 错误 “RPC: failed to contact local rpcbind server (errno 5).”解决方法_第2张图片
wb127

54篇文章,34W+人气,0粉丝

关注
mount 错误 “RPC: failed to contact local rpcbind server (errno 5).”解决方法_第3张图片

Ctrl+Enter 发布

发布

取消

推荐专栏更多

mount 错误 “RPC: failed to contact local rpcbind server (errno 5).”解决方法_第4张图片
带你玩转高可用

前百度高级工程师的架构高可用实战

共15章 | 曹林华

¥51.00 507人订阅
订   阅
mount 错误 “RPC: failed to contact local rpcbind server (errno 5).”解决方法_第5张图片
负载均衡高手炼成记

高并发架构之路

共15章 | sery

¥51.00 573人订阅
订   阅
mount 错误 “RPC: failed to contact local rpcbind server (errno 5).”解决方法_第6张图片
基于Python的DevOps实战

自动化运维开发新概念

共20章 | 抚琴煮酒

¥51.00 517人订阅
订   阅
mount 错误 “RPC: failed to contact local rpcbind server (errno 5).”解决方法_第7张图片
网工2.0晋级攻略 ——零基础入门Python/Ansible

网络工程师2.0进阶指南

共30章 | 姜汁啤酒

¥51.00 1949人订阅
订   阅
mount 错误 “RPC: failed to contact local rpcbind server (errno 5).”解决方法_第8张图片
全局视角看大型园区网

路由交换+安全+无线+优化+运维

共40章 | 51CTOsummer

¥51.00 2367人订阅
订   阅

猜你喜欢

gpg加解密批处理文件 oepnssh 无密码连接 启动网卡报错(Failed to start LSB: Bring up/down networking )解决办法总结 mysql起动报错The server quit without updating PID file (/usr/local/mysql/data/ 从零开始手写 dubbo rpc 框架 如何解决SVN Commit failed (details follow): Access denied CentOS7 Failed to start LSB: Bring up/down解决方法 丢失Android系统库或者Conversion to Dalvik format failed with error 1错误的解决 docker Failed to get D-Bus connection 报错 Mysql报错的解决'Can't connect to local MySQL server through socket '/tmp/mysql.sock' SSH 登录失败:Host key verification failed 的处理方法 nfs客户端挂载出错 mount.nfs access denied by server while mounting 时间序列数据库(TSDB)初识与选择(InfluxDB、OpenTSDB、Druid、Elastic 生产事故:IBM(AIX系统)能够在交换机上看到WWN号,却在华为存储侧离线的状态,重启小型机解决 #IT明星不是梦# Devops平台构建与监控平台二次开发的一些思考 HTTPS原理01 -- SSL/TLS介绍 网络工程师的Pyhon实战 中型企业网络构建——OSPF区域划分(特殊域) k8s部署有状态服务zookeeper示例 怎么恢复NetScaler配置
mount 错误 “RPC: failed to contact local rpcbind server (errno 5).”解决方法_第9张图片
mount 错误 “RPC: failed to contact local rpcbind server (errno 5).”解决方法_第10张图片

扫一扫,领取大礼包

0

分享
mount 错误 “RPC: failed to contact local rpcbind server (errno 5).”解决方法_第11张图片
关注
wb127
mount 错误 “RPC: failed to contact local rpcbind server (errno 5).”解决方法_第12张图片