跳转到主内容

ONTAP 如何实施 SMB 抵补计算

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

适用场景

  • ONTAP 9.4 及更高版本
  • SMB2及更高版本

问题解答

  • 在 ONTAP 9.4 中, SMB 信用的限制是通过最大信用额配置实现的
    • 在 9.4 之前, SMB 客户端获得的信用额度与他们请求的额度相同
    • 默认情况下, ONTAP 9.4 为每个连接授予 128 个信用值
  • 如何确认当前 max-credits 值:

cluster1::*> set -privilege advanced
cluster1::*> vserver cifs options show -vserver svm1 -fields max-credits

  • 如何修改 max-credits

cluster1::*> vserver cifs options modify -vserver svm1 -max-credits 512

追加信息

  • 修改后的信用值仅对新的 CIFS 会话生效
  • 允许的范围介于 2 到 8192 之间
    • 应选择什么值?
      • 除非问题描述已确认为 root 发生原因或供应商状态 X 需要信用值,否则无需更改默认值。
        • 如果与默认值不同,请遵循客户端供应商的建议
        • 在测试 SVM 上使用客户端应用程序进行测试,方法是缓慢增加此值,直到问题描述得到解决
        • 虽然可以将信用值数设置为 2 ,但有报告指出,某些客户端在这种低设置下开始行为不当
    • 更改此值时是否会出现任何问题?
      • 不会,我们不希望更改发生原因,也不会出现任何问题
      • 为了安全起见,在生产 SVM 上进行更改之前,请使用测试客户端对测试 SVM 进行更改。

要在禁用 SMB 入计方面获得帮助,请联系NetApp 技术支持并参考此文章。

 

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.