跳转到主内容

如何配置配额?

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

执行

执行

适用场景

  • ONTAP 9
  • 配额

问题描述

可以配置配额、以便为特定用户、组或qtrees提供特定的磁盘限制或文件数限制。

建议对具有更具体配额的卷设置跟踪配额。这样、在添加和删除规则时、无需随后禁用/启用配额  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.