挂载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/


你可能感兴趣的:(挂载NFS错误排解)