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

mcachelayer queryckg


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


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





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




Diagnostic view

Usage Guidelines



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


Updated: 2019-07-11

Document ID: EDOC1000181602

Views: 627658

Downloads: 55

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