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

ONTAP REST API が誤ったスペア数を返しました

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

に適用されます

  • ONTAP 9.6
  • REST API

問題

cURL クエリーでは、 node-02 のスペアディスクが 2 つではなく 1 つしかレポートされず、 node-01 の出力が完全に欠落しています。


{
 "records": [
  ],
 "num_records": 0,
 "spares": [
    {
     "node": {
       "uuid": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx",
       "name": "node-02"
      },
     "disk_class": "capacity",
     "size": 3992785256448,
     "checksum_style": "block",
     "syncmirror_pool": "pool0",
     "usable": 1,
     "layout_requirements": [
        {
         "raid_type": "raid_dp",
         "default": true,
         "aggregate_min_disks": 5,
         "raid_group": {
           "min": 3,
           "max": 20,
           "default": 14
          }
        },
        {
         "raid_type": "raid4",
         "default": false,
         "aggregate_min_disks": 3,
         "raid_group": {
           "min": 2,
           "max": 7,
           "default": 7
          }
        },
        {
         "raid_type": "raid0",
         "default": false,
         "aggregate_min_disks": 1,
         "raid_group": {
           "min": 0,
           "max": 0,
           "default": 0
          }
        },
        {
         "raid_type": "raid_tec",
         "default": false,
         "aggregate_min_disks": 7,
         "raid_group": {
           "min": 4,
           "max": 29,
           "default": 21
          }
        }
      ]
    }
  ]
}



aggr show-spare-disksONTAP CLI のコマンドでは、正しい数のスペアが報告されます。

cluster1::> aggr show-spare-disks

Original Owner: node-01
 Pool0
  Root-Data1-Data2 Partitioned Spares
                                                             Local    Local
                                                              Data     Root Physical
 Disk             Type   Class          RPM Checksum        Usable   Usable     Size Status
 ---------------- ------ ----------- ------ -------------- -------- -------- -------- --------
 1.10.21          SSD    solid-state      - block                0B  53.88GB  894.3GB zeroed
 1.10.23          SSD    solid-state      - block           840.1GB  53.88GB  894.3GB zeroed

Original Owner: node-02
 Pool0
  Spare Pool

                                                             Usable Physical
 Disk             Type   Class          RPM Checksum           Size     Size Status
 ---------------- ------ ----------- ------ -------------- -------- -------- --------
 1.1.11           FSAS   capacity      7200 block            3.63TB   3.64TB zeroed
 1.2.11           FSAS   capacity      7200 block            3.63TB   3.64TB zeroed

Original Owner: node-02
 Pool0
  Root-Data1-Data2 Partitioned Spares
                                                              Local    Local
                                                               Data     Root Physical
 Disk             Type   Class          RPM Checksum         Usable   Usable     Size Status
 ---------------- ------ ----------- ------ -------------- -------- -------- -------- --------
 1.10.14          SSD    solid-state      - block                0B  53.88GB  894.3GB zeroed
 1.10.20          SSD    solid-state      - block                0B  53.88GB  894.3GB zeroed

 

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.