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).
mcachelayer queryckg

mcachelayer queryckg

Function

The mcachelayer queryckg command is used to view chunk group (CKG) information in metadata caches and space allocation.

Format

mcachelayer queryckg -p pool id -z zone id -d ckg id

Parameters

Parameter

Description

Value

pool id Disk domain ID.

The value ranges from 0 to n minus one. n indicates the maximum number of disk domain.

zone id Zone ID.

To obtain the value, run spa queryzoneintier.

ckg id CKG ID.

-

Views

Diagnostic view

Usage Guidelines

None

Example

View chunk group (CKG) information in metadata caches and space allocation.

admin:/diagnose>mcachelayer queryckg -p 0 -z 16386 -d 0
Ckg info in mcache:
Query ckginfo in mcache failed.Begin to query ckginfo in spa. diskpoolId:(0), ckgId:
(1073741824), parid:(0), zoneId:(16386)
==================================================================================
==============
Ckg info in spa:
********ckg info*********
ckg id :0x40000000
state :1 (1:normal 2:reconstruct 3:precopy 4: leveling
5:leving_target)
dgId :16416
raidlevel :4
memberDiskNum :4
mirrorDiskNum :4
stripeUnitSizeType :6
chunkSizeType :6
chunk diskId chunkId
-------- -------- --------
0 529 0
1 520 0
2 514 0
3 516 0
Ckg Id : 0x40000000
State : 1 (1:normal 2:reconstruct 3:precopy 4: leveling
5:leving_target)
DG ID : 16416
Raid Level : 4
Member Disk Num : 4
Mirror Disk Num : 4
Stripe Unit Size Type : 6
Chunk Size Type : 6
Index Disk ID Chunk ID Is Have Acock
----- ------- ---------- -------------
0 529 0 0
1 520 0 0
2 514 0 0
3 516 0 0
4 -1 16777215 1
5 0 0 0
6 0 0 0
7 0 0 0
8 0 0 0
9 0 0 0

System Response

None

Translation
Download
Updated: 2020-01-17

Document ID: EDOC1000181602

Views: 764319

Downloads: 66

Average rating:
This Document Applies to these Products

Related Version

Related Documents

Share
Previous Next