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


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


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).
cache show cmd

cache show cmd


The cache show cmd command is used to view the execution of commands in a cache.


cache show cmd cur

cache show cmd trace type [ result ]

cache show cmd obj volumeId layer






Command being executed in a cache.



Command executed in a cache.



Command type.

The value can be all,recovervol, recoverstp,stopvoldsg, stopstpdsg, or protect.

all: all command types.

recovervol: command for recovering a volume cache.

recoverstp: command for recovering a stripe cache.

stopvoldsg: command for stopping the disk flushing of a volume cache.

stopstpdsg: command for stopping the disk flushing of a stripe cache.

protect: command for protecting cache data.


Command execution result.

The value can be all, begin,ok, or fail.

all: all results.

begin: command executed at the beginning.

ok: command executed successfully.

fail: command that fails to be executed.


Cache object.



Volume ID.

The value ranges from 0 to 2^64 - 1.


Range of cache information that you want to view.

The value can be a, v, or s.

a: volume cache and stripe cache.

v: volume cache.

s: stripe cache.


Diagnostic view

Usage Guidelines



To view the execution of commands which result is OK in a cache.

admin:/diagnose>cache show cmd trace all ok 
(000) [2015-07-16 17:10:19] SET_VOLUME_CACHE_WORK_CONTROLLER,volumeId(0x4000000065):cmd ok. 
(001) [2015-07-16 17:10:19] SET_VOLUME_CACHE_WORK_CONTROLLER,volumeId(0x4000000071):cmd ok. 
(002) [2015-07-16 17:10:19] SET_VOLUME_CACHE_WORK_CONTROLLER,volumeId(0x4000000089):cmd ok. 
(003) [2015-07-16 17:10:19] SET_VOLUME_CACHE_WORK_CONTROLLER,volumeId(0x400000009d):cmd ok. 
(004) [2015-07-16 17:10:19] SET_VOLUME_CACHE_WORK_CONTROLLER,volumeId(0x4000000095):cmd ok. 
(005) [2015-07-16 17:10:19] SET_VOLUME_CACHE_WORK_CONTROLLER,volumeId(0x40000000a1):cmd ok. 
(006) [2015-07-16 17:10:19] SET_VOLUME_CACHE_WORK_CONTROLLER,volumeId(0x4000000099):cmd ok. 
(007) [2015-07-16 17:10:19] SET_VOLUME_CACHE_WORK_CONTROLLER,volumeId(0x40000000b1):cmd ok. 
(008) [2015-07-16 17:10:19] SET_VOLUME_CACHE_WORK_CONTROLLER,volumeId(0x40000000a9):cmd ok. 
(009) [2015-07-16 17:10:19] SET_VOLUME_CACHE_WORK_CONTROLLER,volumeId(0x40000000ad):cmd ok. 
(010) [2015-07-16 17:10:19] SET_VOLUME_CACHE_WORK_CONTROLLER,volumeId(0x40000000b5):cmd ok. 
(011) [2015-07-16 17:10:19] SET_VOLUME_CACHE_WORK_CONTROLLER,volumeId(0x40000000a5):cmd ok. 
(012) [2015-07-16 17:10:19] SET_VOLUME_CACHE_WORK_CONTROLLER,volumeId(0x40000000b9):cmd ok. 
(013) [2015-07-16 17:10:19] SET_VOLUME_CACHE_WORK_CONTROLLER,volumeId(0x40000000c1):cmd ok. 
(014) [2015-07-16 17:10:19] SET_VOLUME_CACHE_WORK_CONTROLLER,volumeId(0x40000000bd):cmd ok. 
(015) [2015-07-16 17:10:19] SET_VOLUME_CACHE_WORK_CONTROLLER,volumeId(0x40000000c5):cmd ok. 
(016) [2015-07-16 17:10:19] SET_STRIPE_CACHE_WORK_CONTROLLER,volumeId(0x1000000001):cmd ok. 
(017) [2015-07-16 17:10:19] SET_STRIPE_CACHE_WORK_CONTROLLER,volumeId(0x1000000019):cmd ok. 
(018) [2015-07-16 17:10:19] SET_STRIPE_CACHE_WORK_CONTROLLER,volumeId(0x100000000d):cmd ok. 
(019) [2015-07-16 17:10:19] SET_STRIPE_CACHE_WORK_CONTROLLER,volumeId(0x1000000009):cmd ok. 
(020) [2015-07-16 17:10:19] SET_STRIPE_CACHE_WORK_CONTROLLER,volumeId(0x1000000000):cmd ok. 
(021) [2015-07-16 17:10:19] SET_STRIPE_CACHE_WORK_CONTROLLER,volumeId(0x1000000011):cmd ok. 
(022) [2015-07-16 17:10:19] SET_STRIPE_CACHE_WORK_CONTROLLER,volumeId(0x100000002d):cmd ok. 
(023) [2015-07-16 17:10:19] SET_STRIPE_CACHE_WORK_CONTROLLER,volumeId(0x1000000005):cmd ok. 
(024) [2015-07-16 17:10:19] SET_STRIPE_CACHE_WORK_CONTROLLER,volumeId(0x100000003d):cmd ok. 
(025) [2015-07-16 17:10:19] SET_STRIPE_CACHE_WORK_CONTROLLER,volumeId(0x1000000029):cmd ok. 
(026) [2015-07-16 17:10:19] SET_STRIPE_CACHE_WORK_CONTROLLER,volumeId(0x1000000025):cmd ok. 
(027) [2015-07-16 17:10:19] SET_STRIPE_CACHE_WORK_CONTROLLER,volumeId(0x1000000015):cmd ok. 
(028) [2015-07-16 17:10:19] SET_STRIPE_CACHE_WORK_CONTROLLER,volumeId(0x1000000035):cmd ok. 
(029) [2015-07-16 17:10:19] SET_STRIPE_CACHE_WORK_CONTROLLER,volumeId(0x100000006d):cmd ok. 
-----END-CACHE-CMD-TRACE(find 30 cmdtrace)-----

System Response


Updated: 2019-07-12

Document ID: EDOC1000138381

Views: 756153

Downloads: 38

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