rest-API 调用不会返回所有现有卷
适用场景
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 。