mount.nfs: mount(2): Input/output error mount.nfs: mount system call failed

背景:有很多测试机,NFS挂载到一台机器,之前都很顺利;

如今出现:

mount.nfs: mount(2): Input/output error
mount.nfs: mount system call failed

通过showmount 都可以看到共享的目录,检查权限,共享路径,网络,系统,都没有排查到,结果当时手动umount了一台,在mount有问题的一台服务器,突然之间好了。

瞬间感觉是受到系统的限制,检查/etc/nfsmount.conf ,search max 关键字符之类的,木有找到额.

最后尝试寻找/proc/xxxx的限制..

 

最终找到一个: echo 'number' > /proc/sys/sunrpc/max_resvport   

原来是1024,现在调整成2048,可以了. 

转载于:https://www.cnblogs.com/marcwang/p/4905209.html

你可能感兴趣的:(mount.nfs: mount(2): Input/output error mount.nfs: mount system call failed)