跳转到主内容

文件锁定对 NFSv3 和 CIFS 客户端有何影响?

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

可不使用  

适用场景

  • ONTAP 9
  • Data ONTAP 8 7-模式

问题解答

注意: 此处未介绍多协议访问( CIFS 和 NFS )等更复杂的情形。

  • 不会强制实施网络文件系统(NFS)客户端设置的锁定
    • 根据客户端是否检查并观察锁定、客户端可能会获得对锁定文件或部分锁定文件的访问权限
    • 这是唯一使用NLM的适用场景 NFSv3、但 NFSv4具有强制锁定基础架构
  • 强制实施CIFS/SMB客户端设置的锁定
    • 无论客户端是否检查锁定、锁定都会影响客户端。
    • 如果存在锁定、则会根据锁定拒绝客户端的访问类型。
  • 如果 dump 在Data ONTAP 8 7-模式上运行命令、则会忽略文件锁定以完成转储或NDMP备份。
ONTAP 如何跟踪锁定?
  • 锁定管理器(LMGR)是一个ONTAP 子系统、用于实施文件锁定以管理并发访问。
    • 它会跟踪哪些文件处于打开状态以及授予了哪些锁定。
    • 此问题会在ONTAP 的数据/WAFL层中处理
  • ONTAP 9集群上的每个节点都有自己运行的锁定管理器、用于管理位于该节点所拥有的聚合上的卷。
    • 注意: 在7-模式中、此值是按控制器计算的
  • 要完成这些任务、会向锁定管理器分配一系列内存结构(对象);这些结构的数量取决于存储控制器上安装的内存量、并且是固定的。
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.