跳转到主内容

NFS协议的空闲连接超时值是多少?

Views:
92
Visibility:
Public
Votes:
0
Category:
ontap-9
Specialty:
nas
Last Updated:

适用场景

  • ONTAP 9.5及更高版本
  • NFS

问题解答

默认超时为360秒。

  • 显示NFS 空闲连接超时配置:

::*> nfs show -fields idle-connection-timeout,allow-idle-connection
vserver     idle-connection-timeout allow-idle-connection
------------- ----------------------- ---------------------
svm1_ontap912 360            enabled
svm2_ontap912 360            enabled

 

注: 自ONTAP 9.12.1及更高版本起 ,选项和字段名为 -allow-idle-connection-timeout 

追加信息

  • 这些选项是在ONTAP 9 5中引入
  • 由于SVM.11.1 是新ONTAP 9的默认-allow-idle-connection (RFE 1431560)
  • 要启用和设置值、请 使用高级权限:

示例:

::*> nfs option -vserver <VSERVER_NAME> –allow-idle-connection enable -idle-connection-timeout 360

注意: 这仅适用于建立的新连接。

  • 没有最佳实践、因为它是特定于环境的。
  • 较低的空闲超时时间 可以使受影响的客户端或用户更快地恢复
  • 使用测试环境查找最佳设置

 

NetApp provides no representations or warranties regarding the accuracy or reliability or serviceability of any information or recommendations provided in this publication or with respect to any results that may be obtained by the use of the information or observance of any recommendations provided herein. The information in this document is distributed AS IS and the use of this information or the implementation of any recommendations or techniques herein is a customer's responsibility and depends on the customer's ability to evaluate and integrate them into the customer's operational environment. This document and the information contained herein may be used solely in connection with the NetApp products discussed in this document.