跳转到主内容

如何配置配额?

Views:
341
Visibility:
Public
Votes:
2
Category:
ontap-9
Specialty:
core
Last Updated:

适用于

  • ONTAP 9
  • 配额

说明

  • 配额可以配置为允许特定用户、组或 qtree 具有特定的磁盘限制或文件数量限制。
  • 建议对所有具有更具体配额的卷设置跟踪配额。这允许添加和删除规则,而无需事后禁用/启用配额,因为  resize就足够了。
  • 如果没有为卷设置卷配额, resizeon 失败:

::> vol quota resize -vserver vs1 -volume volume
  (volume quota resize)

Error: command failed: No valid quota rules found in quota policy default for
       volume volume in Vserver vs1.

::> vol quota on -vserver vs1 -volume volume
  (volume quota on)

Error: command failed: No valid quota rules found in quota policy default for
       volume volume in Vserver vs1.

  • 要使这些命令正常工作,Vserver 必须至少有一个策略,并且该策略必须有一个适用于卷的规则。

 

 

 

Sign in to view the entire content of this KB article.

New to NetApp?

Learn more about our award-winning Support

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.