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 V3 Series V300R006

This document is applicable to OceanStor 18500 V3 and 18800 V3. Based on the CLI, this document describes how to use various commands classified by functions and 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 chunk

cache show chunk

Function

The cache show chunk command is used to view the details about cache chunks.

Format

cache show chunk layer chunktype all volumeId filter [ tpvalue ] [ num ]

cache show chunk v chunktype detail volumeId lba

cache show chunk s chunktype detail volumeId ckgObjId lba

Parameters

Parameter

Description

Value

layer

Range of cache informat that you want to view.

The value can be v or s.

v: volume cache.

s: stripe cache.

chunktype

Chunk type.

The value can be r or w.

r: read chunk.

w: write chunk.

all

All information.

None.

volumeId

Volume ID.

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

filter

Chunk type.

The value can be all, dirty,fault, logfault, dsg,forcemirror,ref,writeref,through, forcedsg,hasmultp, or tp.

tpvalue

Time point of chunk.

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

num

Number of displayed items.

The value is an integer larger

than 0.

v

Volume cache.

None.

s

Stripe cache.

None.

detail

Details.

None.

lba

Logical block addressing(LBA).

The value ranges from 0 to

2^64 - 1.

ckgObjId

Chunk group (CKG) object ID.

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

Views

Diagnostic view

Usage Guidelines

None

Example

View first 10 items of information about volume cache read dirty chunks in volume 0.

admin:/diagnose>cache show chunk v r all 0 dirty 10 
all chunk in vol[0x0] 
chunkId 0 ~ 10 : 0 512 1024 1536 2048 2560 3072 3584 4096 4608 
total chunk: 10

System Response

None

Translation
Download
Updated: 2019-07-12

Document ID: EDOC1000138389

Views: 502314

Downloads: 85

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