跳转到主内容

rest-API 调用不会返回所有现有卷

Views:
6
Visibility:
Public
Votes:
0
Category:
ontap-9
Specialty:
core
Last Updated:

适用场景

ONTAP 9

问题描述

/storage/volumes get API 调用未报告所有预期卷。
 
示例:
 
Cluster::*> vol show
Vserver   Volume     Aggregate   State    Type     Size  Available Used%
--------- ------------ ------------ ---------- ---- ---------- ---------- -----
Node-01   vol0      root_node_01 online    RW     2.94TB    2.55TB   8%
Node-02   vol0      root_node_02 online    RW     2.94TB    2.72TB   2%
SVM__01   SVM_root    data_01    online    RW      1GB   966.2MB   0%
SVM__01   Data_volume  data_01    online    RW      12TB    5.74TB   68%
...
...
386 entries were displayed.

 
 

Cluster::*>set diag
Cluster::*>debug smdb table volume_uuid show
uuid                  volume      vsID available-size state  junction-path
------------------------------------ -------------  ---- -------------- ------ --------------
<uuid number>            Data_volume_01 10   1.23TB      online /Data_volume_01
<uuid number>            Data_volume_01 11   456GB      online /Data_volume_02
<uuid number>            Data_volume_01 12   789GB      online /Data_volume_03
...
...
374 entries were displayed.
 
386= 384 个数据卷和 2 个节点根卷。差值为 10 。 

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.