No relevant resource is found in the selected language.

This site uses cookies. By continuing to browse the site you are agreeing to our use of cookies. Read our privacy policy>Search

Reminder

To have a better experience, please upgrade your IE browser.

upgrade

Advanced O&M Command Reference

OceanStor 2800 V3 V300R006

This document is applicable to OceanStor 2800 V3. Based on the CLI, this document describes how to use various commands classified by functionsand how to set the CLI and manage the storage system through these commands. The document that you browse online matches the latest C version of the product. Click Download to download documents of other C versions.
Rate and give feedback:
Huawei uses machine translation combined with human proofreading to translate this document to different languages in order to help you better understand the content of this document. Note: Even the most advanced machine translation cannot match the quality of professional translators. Huawei shall not bear any responsibility for translation accuracy and it is recommended that you refer to the English document (a link for which has been provided).
show cache iocounter

show cache iocounter

Function

The show cache iocounter command is used to query the count of I/Os in a cache.

Format

show cache iocounter info=? [ controller=? ]

Parameters

Parameter

Description

Value

info=?

Method of displaying the count of cache I/Os.

The value can be:

  • "diff": difference between the count of current I/Os and that of historical I/Os.
  • "history": count of historical I/Os.
  • "current": count of the current I/Os.

controller=?

Controller ID.

The value format is "XA", "XB", "XC", or "XD", where "X" is an integer ranging from 0 to 3, for example, "0A" or "1C".

Views

Developer view

Usage Guidelines

Operations are executed on the local controller by default.

Example

  • Query the count of I/Os in the cache of controller "0A".
      
    developer:/>show cache iocounter info=current controller=0A 
     Counter                                  Start       Back Good        Back Bad      Back Retry        Not Back 
    read alloc                      :                0               0               0             0               0 
    volume read                     :           407867          407867               0               0               0 
    space read                      :            10361            9878             483               0            0 
    stripe read                     :           413295          413295               0               0               0 
    volume read through             :                0               0               0               0               0 
    space read through              :                0               0               0               0               0 
    stripe read through             :                0               0               0               0               0 
    mirror read peer                :              124             124               0               0               0 
    mirror read peer recv           :               83              83               0               0               0 
    space write                     :            55347           55347               0               0               0 
    space write commit log mission  :           187444          187444               0               0               0 
    space write commit log          :           187444          187444               0               0               0 
    write alloc                     :                0               0               0               0               0 
    volume write                    :           161727          161727               0               0               0 
    volume write child              :           323454          323454               0               0               0 
    volume write child alloc quota  :           323454          323454               0               0               0 
    volume write child write mirror :           111840          111840               0               0               0 
    stripe write                    :           215163          215163               0               0               0 
    stripe write child              :           225559          225559               0               0               0 
    stripe write child alloc quota  :           225559          225559               0               0               0 
    stripe write child write mirror :           225559          225559             0               0               0 
    write dirty parity              :            40922           40921               0               1               0 
    chunk write with dsg            :                0               0               0            0               0 
    write local chunk               :           549013          549013               0               0               0 
    write through wait destage      :           140934          140934               0               0               0 
    mirror writevolume              :           167187          167187               0               0               0 
    mirror writevolume recv         :           132102          132102               0               0               0 
    mirror writestripe              :           225559          225559               0               0               0 
    mirror writestripe recv         :          8364380         8364380               0               0               0 
    mirror writestripe quota        :          8364380         8364380               0               0               0 
    mirror merger                   :                0               0               0               0               0 
    mirror merger recv              :                0               0               0               0               0 
    mirror write parity             :            40921           40921               0               0               0 
    mirror write parity recv        :             2312            2312               0               0               0 
    open cache dnode                :             2533            2533               0               0               0 
    rollback write dirty            :                0               0               0               0               0 
    rollback write clean            :                0               0               0               0               0 
    mir rollback write clean        :                0               0               0               0               0 
    mir rollback write clean recv :                0               0               0               0               0 
    destage mission                 :            90977           90977               0               0               0 
    volume wb destage mission       :            20732         20732               0               0               0 
    volume wt destage mission       :            70245           70245               0               0               0 
    volume force destage mission :                0               0            0               0               0 
    volume wt fault destage mission :                0               0               0               0               0 
    volume destage alloc concurrent :            90977           90977               0               0             0 
    volume destage send to volume :           189296          189296               0               0               0 
    stripe wb destage mission       :             3767            3767               0               0               0 
    stripe wt destage mission       :            38314           38314               0               0               0 
    stripe force destage mission :                0               0               0               0               0 
    stripe destage alloc concurrent :                0               0               0               0               0 
    stripe destage send to ckg      :                0               0               0               0               0 
    space dsg tx                    :              315             315               0               0               0 
    space dsg to space              :             3330            3330               0               0               0 
    file system mirror delete       :              369             369               0               0               0 
    file system mirror delete recv  :              768             768               0               0               0 
    mirror fs send bp               :                0               0               0               0               0 
    mirror fs send bp recv          :                0               0               0               0               0 
    mirror delete                   :           127439          127439               0               0               0 
    mirror delete recv              :            14925           14925               0               0               0 
    mirror del clean                :                0               0               0               0               0 
    mirror del clean rcv            :             0               0               0               0               0 
    mirror del clean exec           :                0               0               0               0               0 
    del mir spec data               :                0            0               0               0               0 
    del mir spec data recv          :             1181            1181               0               0               0 
    del spec data                   :             1181            1181               0             0               0 
    force mirror                    :                0               0               0               0               0 
    force mirror recv               :                0               0               0               0            0 
    sync obj info                   :                0               0               0               0               0 
    sync obj info recv              :                0               0               0               0               0 
    mirror recover writehole log :                0               0               0               0               0 
    mirror recover writehole log rcv:                0               0               0               0               0 
    mirror byte del                 :               24              24               0               0               0 
    mirror byte del recv            :             1308            1308               0               0               0 
    mirror op other                 :                0               0               0               0               0 
    mirror op other rcv             :                0               0               0               0               0 
    delete smart cache data         :                0               0               0               0               0 
    write smart cache data          :                0               0               0               0               0 
    read smart cache data           :                0               0               0               0               0 
    cover write smart cache data :                0               0               0               0               0 
    version negotiate               :                0               0               0               0               0 
    version negotiate rcv           :                0               0               0               0               0 
    stripe crc dif                  :           215163          215163               0               0               0 
    stripe lba dif                  :           221931          221931               0               0               0 
    recover writehole               :                0               0               0               0               0 
     
  • Query the count of I/Os and the difference between the count of current I/Os and that of historical I/Os in the cache of controller "0A".
    developer:/>cache show iocounter info=diff controller=0A 
     Difference                              Start          Start Diff       Back Good  Back Good Diff        Back Bad  Back Bad Diff)      Back Retry  Back Retry Diff        Not Back  Not Back Diff 
    read alloc                                       0       0               0      0                  0     0               0      0             0      0 
    volume read                                      0     0               0       0                  0     0               0      0             0      0 
    space read                                  271138 132          270999        132                  139           0               0       0             0               0 
    stripe read                               87605713     0        87605713 0                0      0             0       0             0      0
  • Query the count of historical I/Os in the cache of controller "0A".
    developer:/>show cache iocounter info=history controller=0A 
    Counter History                         Start       Back Good        Back Bad      Back Retry        Not Back 
    read alloc                      :                0               0               0             0               0 
    volume read                     :                0               0               0               0               0 
    space read                      :           271006          270867             139               0               0 
    stripe read                     :         87605713        87605713               0               0               0 
    volume read through             :                0               0               0               0               0 
    space read through              :                0               0               0               0               0 
    stripe read through             :                0               0               0               0               0 
    mirror read peer                :               83              83               0               0               0 
    mirror read peer recv           :               83              83               0               0               0 
    space write                     :           159801           70493               0           89290              18 
    space write commit log mission  :           780065          780065               0               0               0 
    space write commit log          :           780065          780065               0               0               0 
    write alloc                     :                0               0               0               0               0 
    volume write                    :                0               0               0               0               0 
    volume write child              :                0               0               0               0               0 
    volume write child alloc quota  :                0               0               0               0               0 
    volume write child write mirror :                0               0               0               0               0 
    stripe write                    :         42163364        42163363               0               0               1 
    stripe write child              :         42172185  42172184               0               0               1 
    stripe write child alloc quota  :         42172184        42172184               0               0               0 
    stripe write child write mirror :         42172185        42172184             0               0               1 
    write dirty parity              :              807             807               0               0               0 
    chunk write with dsg            :                0               0               0               0            0 
    write local chunk               :         42172184        42172184               0               0               0 
    write through wait destage      :             4935            4935               0               0               0 
    mirror writevolume              :           159801           70493               0           89290              18 
    mirror writevolume recv         :           709572          709572               0               0               0 
    mirror writestripe              :         42172185        42172184               0               0               1 
    mirror writestripe recv         :         10065173        10065173               0               0               0

System Response

The following table describes the parameter meanings.

Parameter

Meaning

Counter

I/O counter.

Difference

I/O counter.

Counter History

I/O counter.

Start

Count of started I/Os.

Back Good

Count of I/Os for which a success message is returned.

Back Bad

Count of I/Os for which a failure message is returned.

Back Retry

Count of I/Os that are being retried.

Not Back

Count of I/Os for which no message is returned.

Start Diff

Difference between the count of started I/Os and that of historical I/Os.

Back Good Diff

Difference between the count of I/Os for which a success message is returned and that of historical I/Os.

Back Bad Diff

Difference between the count of I/Os for which a failure message is returned and that of historical I/Os.

Back Retry Diff

Difference between the count of I/Os that are being retried and that of historical I/Os.

Not Back Diff

Difference between the count of I/Os for which no message is returned and that of historical I/Os.

Translation
Download
Updated: 2019-07-12

Document ID: EDOC1000138381

Views: 696926

Downloads: 36

Average rating:
This Document Applies to these Products
Related Documents
Related Version
Share
Previous Next