Skip to main content
NetApp Knowledge Base

CONTAP-621373: SNMP returns unexpected diskSpareCount when scrubbing is active

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

Issue

SNMP OID "1.3.6.1.4.1.789.1.6.4.8" for "diskSpareCount" returns a reduced number for hot spare drive count when scrubbing is active, by default in between 1am and 5am daily or when started manually:

  • Scrubbing is suspended (or not active in any way :
    MyONTAPCluster::> run * aggr scrub status
    2 entries were acted on.
    Node: node_A_1
    aggr scrub /aggr1_node_A_1/plex9/rg0 is 30% complete (suspended)
    Node: node_A_2
    aggr scrub /aggr2_node_A_2/plex5/rg0 is 43% complete (suspended)
    aggr scrub /CP_TEST/plex1/rg0 is 28% complete (suspended)
    aggr scrub /aggr0_node_A_2/plex4/rg0 is 61% complete (suspended)


  • SNMP returns 18 spare count:
    MyBSDhost#> bsnmpwalk -v 2 -n -r 0 -t 1 -s 'public@MyONTAPCluster_node_A_1' .1.3.6.1.4.1.789.1.6.4.8"
    1.3.6.1.4.1.789.1.6.4.8.0 = 18


  • Manually resume scrubbing and validate it being active (it reports "x% complete" when active):
    MyONTAPCluster::> storage aggregate scrub -action resume -aggregate *
    MyONTAPCluster::> nod run -node * -command aggr scrub status
    2 entries were acted on.
    Node: node_A_1
    aggr scrub /aggr1_node_A_1/plex9/rg0 is 30% complete
    Node: node_A_2
    aggr scrub /aggr2_node_A_2/plex5/rg0 is 43% complete
    aggr scrub /CP_TEST/plex1/rg0 is 28% complete
    aggr scrub /aggr0_node_A_2/plex4/rg0 is 61% complete


  • SNMP returns spare count 12 instead of 18 before when scrubbing was not active:
    MyBSDhost#> bsnmpwalk -v 2 -n -r 0 -t 1 -s 'public@10.61.64.78' .1.3.6.1.4.1.789.1.6.4.8
    1.3.6.1.4.1.789.1.6.4.8.0 = 12


  • Manually suspend scrubbing again to prove the SNMP spare count returns the initial value (in this example 18) again:
    ::*> storage aggregate scrub -action suspend -aggregate *
    ::*> run * aggr scrub status
    2 entries were acted on.
    Node: node_A_1
    aggr scrub /aggr1_node_A_1/plex9/rg0 is 30% complete (suspended)
    Node: node_A_2
    aggr scrub /aggr2_node_A_2/plex5/rg0 is 44% complete (suspended)
    aggr scrub /CP_TEST/plex1/rg0 is 28% complete (suspended)
    aggr scrub /aggr0_node_A_2/plex4/rg0 is 61% complete (suspended)

    MyBSDhost#> bsnmpwalk -v 2 -n -r 0 -t 1 -s 'public@10.61.64.78' .1.3.6.1.4.1.789.1.6.4.8
    1.3.6.1.4.1.789.1.6.4.8.0 = 18

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.