挂载NFS错误排解

NFS错误排解:按步骤来!

  1. 启动 portmap 或者 rpcbind
    service rpcbind start (or service portmap start)
  2. 启动由客户端和服务器端共享的服务
    service nfs-common start
  3. 启动服务器端服务
    server nfs-server start


NFS错误排解:说说具体的!
错误类型1:

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).
mount: mounting 10.0.3.244:/long_nfs on /tmp/ failed: Input/output error

请加上挂载选项-o nolock

mount -o nolock -t nfs 10.42.43.1:/home/lesca/ARM/ /lesca/nfs

错误类型2:

cs89x0: Tx buffer not free!
NETDEV WATCHDOG: eth0: transmit timed out
eth0: transmit timed out, IRQ conflict ??
eth0: transmit underrun

这个问题是因为主机和目标板没有用网线连接

错误类型3:

nfs: server <server_name> not responding, still trying
nfs: server <server_name> not responding, still trying
nfs: server <server_name> not responding, still trying
nfs: server <server_name> not responding, still trying
nfs: server <server_name> not responding, still trying

这主要是由于服务器端繁忙、网络拥塞或者网卡丢包引起的。

References:
[1] Linux NFS faq – Linux NFS faq
[2] 浪人漂泊天涯 – NFS服务挂接根文件系统

[3] guillomovitch – What about doing things in order


====

http://lesca.me/blog/2011/02/28/nfs-mounting-troubleshot/


评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值