跳转到主内容

NFSv4 宽限期的工作原理是什么?

Views:
67
Visibility:
Public
Votes:
0
Category:
ontap-9
Specialty:
nfs
Last Updated:

适用场景

  • ONTAP 9
  • NFSv4 和 NFSv4.1

问题解答

有两个与 NFSv4 相关的宽限期:

  1. 将接口移至另一个节点后, NFSv4 客户端可以在 -v4-grace-secondsNFS 选项指定的持续时间内回收锁定。
  2. 将聚合重新定位到另一个节点后,会在locking.grace_lease_seconds 节点选项指定的持续时间内进行 NLM 锁定回收。NFSv3访问也会受到此影响。

在任一时间段内, NFSv4 客户端都无法获取新的锁定。

追加信息

  • 接管后、这两个时间段可能会重叠。
  • 在交还时、接口会在重新定位聚合之前进行还原、并且可以单独观察这两个时间段。
  • 根据客户端重试NFS调用的时间、客户端应用程序的I/O延迟可能会比宽限期本身更长。

 

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.
Scan to view the article on your device