メインコンテンツまでスキップ

REST APIがスペースに対して負の値を返す。ボリュームで使用可能

Views:
10
Visibility:
Public
Votes:
0
Category:
ontap-9
Specialty:
core<a>2009793847</a>
Last Updated:

環境

  • ONTAP 9
  • REST API

問題

  • ONTAP System Manager でボリュームサイズに負の値が表示される
  • REST APIは /api/storage/volumes?name=vol1&fields=space 、スペースに対して負の値を返します。使用可能なスペースがある特定のボリュームで使用可能
{
"records": [
{
"uuid": "a12345xx-x12x-123d-1234-x1x123xx12xx",
"name": "vol1",
"space": {
"size": 57174604644352,
"available": -9709504753664, (<--負の値)
"used": 58307918704640,
..................
}}},
"_links": {
"self": {
"href": "/api/storage/volumes/a12345xx-x12x-123d-1234-x1x123xx12xx"
}}}],
"num_records": 1,
"_links": {
"self": {
"href": "/api/storage/volumes?name=vol1&fields=space"
}}}
 
  • ONTAP CLI volume show コマンドで正しい値が表示される
netapp::> vol show vol1 -instance
 
Vserver Name: svm1
Volume Name: vol1
Aggregate Name: aggr06
List of Aggregates for FlexGroup Constituents: aggr06
Encryption Type: none
List of Nodes Hosting the Volume: netapp-1
Volume Size: 52TB
...........
Comment: 
Available Size: 2.47TB
Filesystem Size: 52TB
Total User-Visible Size: 44.20TB
Used Size: 41.73TB
Used Percentage: 94%
..................

注: 問題は、ONTAP REST APIを使用するツール(System Manager、Active IQ Unified Managerなど)で表示される場合があります。

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.

 

  • この記事は役に立ちましたか?