跳转到主内容

CONTAP-244563: REST GET /api/storage/volumes?name= 为 space.logical_space.used 返回不正确的数据

Views:
4
Visibility:
Public
Votes:
0
Category:
ontap-9
Specialty:
CORE
Last Updated:

问题描述

与 volume show 命令中的 logical-used-by-afs 字段相比,使用卷名的 GET 调用返回了不正确的 space.logical_space.used 值。
cluster1::> set -units b
cluster1::> vol show test3 -fields logical-used-by-afs
vserver volume logical-used-by-afs
------------- ------ -------------------
svm1_cluster1 test3 7552262144B
{
"records": [
{
"uuid": "fcec62fc-175f-11ef-b5ef-0050568139e2",
"name": "test3",
"space": {
"logical_space": {
"used_by_afs": 245760
}
},
"_links": {
"self": {
"href": "/api/storage/volumes/fcec62fc-175f-11ef-b5ef-0050568139e2"
}
}
}
],
"num_records": 1,
"_links": {
"self": {
"href": "/api/storage/volumes?name=test3&fields=space.logical_space.used_by_afs"
}
}
}

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.