跳转到主内容

即使指定了特定的qtree名称、也会自动创建默认树规则

Views:
3
Visibility:
Public
Votes:
0
Category:
ontap-9
Specialty:
core<a>2009年278965</a>
Last Updated:

适用场景

ONTAP 9

问题描述

ONTAP API联机文档页面指出:
qtree.name - Qtree for which to create the rule. For default tree rules, the qtree name must be specified as "".
 
但是、在通过REST API创建配额策略规则时、即使指定了特定qtree名称、默认规则也会意外自动创建。
 
操作日志详细信息如下。
====================
cluster1::> volume quota policy rule show -volume vol1
There are no entries matching your query.
 
 
----- body -----
{
"qtree": {
"name":"qtree1"
},
"space": {
"hard_limit": "104857600",
"soft_limit": "5242880"
},
"svm": {
"name": "svm1"
},
 
"type": "tree",
"volume": {
"name": "qtree1"
}
}
----------------
 
cluster1::> volume quota policy rule show -volume vol1
Vserver: svm1        Policy: default      Volume: vol1
 

                        Soft        Soft
             User      Disk    Disk   Files   Files
Type   Target   Qtree   Mapping    Limit   Limit   Limit   Limit  Threshold
-----  --------  ------- -------  --------  -------  ------  -------  --------
tree  ""   ""    -         -     -    -     -      - <----default rule is created unexpected
tree  qtree1 ""    -       100MB    5MB    -     -      -
2 entries were displayed.

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.