Skip to main content
NetApp Knowledge Base

REST-API call do not return all existing Volumes

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

Applies to

ONTAP 9

Issue

The /storage/volumes GET API call is not reporting all expected volumes.
 
Example:
 
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 data & 2 node root volumes. Difference of 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.