nfs nolock mysql

编程入门 行业动态 更新时间:2024-10-24 06:27:37

<a href=https://www.elefans.com/category/jswz/34/1768279.html style=nfs nolock mysql"/>

nfs nolock mysql

今天无意中,查看服务器,一个dmesg 命令出去,大量的报错,仔细一看,原来是nfs 锁死的问题,大概报错如下:

statd: server localhost not responding, timed out

lockd: cannot monitor 192.168.1.186

statd: server localhost not responding, timed out

lockd: cannot monitor 192.168.1.186

statd: server localhost not responding, timed out

lockd: cannot monitor 192.168.1.186

statd: server localhost not responding, timed out

lockd: cannot monitor 192.168.1.186

解决办法很好解决,我通过 man nfs 找到了 nolock 这个选项:Disable  NFS  locking.  Do  not start lockd.  This has to be used with some old NFS servers that don’t support locking.

所以方法如下:

mount -o nolock -t nfs ip:/共享目录 /挂载目录

更多推荐

nfs nolock mysql

本文发布于:2024-03-08 18:35:54,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1721845.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:nfs   nolock   mysql

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!