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 18000 and 18000F V5 Series V500R007

This document is applicable to OceanStor 18500 V5, 18800 V5, 18500F V5, and 18800F V5. 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.

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

Function

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

Format

cache show cmd cur

cache show cmd trace type [ result ]

cache show cmd obj volumeId layer

Parameters

Parameter

Description

Value

cur Command being executed in a cache.

None.

trace Command executed in a cache.

None.

type 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.

result 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.

obj Cache object.

None.

volumeId Volume ID.

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

layer 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.

Views

Diagnostic view

Usage Guidelines

None

Example

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

admin:/diagnose>cache show cmd trace all ok
---------START--CACHE--CMD--TRACE----------
(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

None

Translation
Download
Updated: 2020-01-17

Document ID: EDOC1000181602

Views: 757066

Downloads: 66

Average rating:
This Document Applies to these Products

Related Version

Related Documents

Share
Previous Next