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
发布评论