首页 > 技术知识 > 正文

推荐如下的方法挂载NFS:

mount -t nfs -o nolock -o tcp xxx.xxx.xxx.xxx:/xxx/sdk_root /mnt

如果有:

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).

rpcbind: server localhost not responding, timed out

RPC: failed to contact local rpcbind server (errno 5).

之类的打印,一般是-o nolock选项没有加;

如果nfs经常失去响应(特别是读写大文件的时候,伴随nfs server not responding, still trying之类的打印),一般是没有加-o tcp选项。

猜你喜欢