NFSV4版本,共享存储给WEB服务器做图片存储,但是内网间网络带宽不够良好。
nfs客户端很卡,df -h一段时间后才显示出挂载的nfs,查看系统日志报kernel: nfs: server not responding, still trying,nfs挂载时使用udp协议,且为硬挂载不可中断
解决方案:
客户端重新挂载为TCP模式,且可中断。
#mount -t nfs -o tcp,intr,nolock IP:/path /path
个人博客地址:http://www.chenxujiang.club(持续更新中)
个人微信公众号