1

NFS配置错误

发表于:2024-11-5 23:11:57 其他 89

在fnos的文件共享协议中开启NFS,再通过ssh的方式连接fnos,查看/etc/exports,有如下内容

/fs/1000/nfs  *(rw,async,no_wdelay,insecure,all_squash,no_subtree_check,insecure_locks,sec=sys,anonuid=1000,anongid=1000,fsid=1000)

根据man手册的内容,设置async的情况下,no_wdelay将不起作用。具体如下


no_wdelay

This option has no effect if async is also set. The NFS server will normally delay committing a write request to disc slightly if it suspects that another related write request may be in progress or may arrive soon. This allows multiple write requests to be committed to disc with the one operation which can improve performance. If an NFS server received mainly small unrelated requests, this behaviour could actually reduce performance, so no\_wdelay is available to turn it off. The default can be explicitly requested with the wdelay option.
收藏
送赞 1
分享

发表回复

评论列表(2)

已收到反馈,我们跟进一下
2024-11-6 12:14:13 回复
选项已经被移除
2024-11-13 15:44:03 回复
orz2333

TA还没有介绍自己~

0

主题

1

回帖

1

积分

江湖小虾

积分
1
话题