跳转到主内容

REST风格的API和System Manager未返回卷统计信息

适用场景

  • ONTAP 9
  • RESTful API
  • System Manager

问题描述

  • REST命令:GET for /storage/volumes/REST <instance-UUID> 不会返回任何卷统计信息。

示例:

root@x.x.x.x:/home # curl -u sde:supersecretpassword --insecure https://10.x.x.94/api/storage/volumes/ae908815-f3fa-xxxx-bcb5-d039ea2315e3

 "metric": {
  "timestamp": "2022-03-22T17:27:30Z",
  "duration": "PT15S",
  "status": "ok",
  "latency": {
   "other": 0,
   "total": 0,
   "read": 0,
   "write": 0
   },
  "iops": {
   "read": 0,
   "write": 0,
   "other": 0,
   "total": 0
   },
  "throughput": {
   "read": 0,
   "write": 0,
   "other": 0,
   "total": 0
   }
  },

 

  • 但是、可以从命令行界面提取统计信息

::> qos statistics volume latency show -volume vol_xxx

 svm_1672514dd44711eb8961ca7f3f1f55b8_9ff6ae37
Workload       ID   Latency   Network   Cluster     Data     Disk   QoS Max   QoS Min    NVRAM    Cloud  FlexCache   SM Sync      VA    AVSCAN
--------------- ------ ---------- ---------- ---------- ---------- ---------- ---------- ---------- ---------- ---------- ---------- ---------- ---------- ----------
-total-        -   600.00us   52.00us   10.00us   62.00us     0ms   469.00us     0ms    7.00us     0ms     0ms     0ms     0ms     0ms
vol_xxx..  22280   99.00us   43.00us     0ms   56.00us     0ms     0ms     0ms     0ms     0ms     0ms     0ms     0ms     0ms

 

 

 

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.