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 5000, 5000F, 6000, and 6000F V5 Series V500R007

This document is applicable to OceanStor 5110 V5, 5110F V5, 5300 V5, 5500 V5, 5600 V5, 5800 V5, 6800 V5, 5300F V5, 5500F V5, 5600F V5, 5800F V5, and 6800F 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).
spa queryckg

spa queryckg


The spa queryckg command is used to query the CKG information.


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





pool id

Disk domain ID.

The ID can be obtained by running the show disk_domain general command in super administrator mode.

zone id

Zone ID.

The ID can be obtained by running the spa queryzoneintier command.

ckg id


Hexadecimal number or decimal number.


Diagnostic view

Usage Guidelines

This command must be run on the working controller of the disk domain.


Query the information of CKG 0 on zone ID 16386 of disk domain 0.

admin:/diagnose>spa queryckg -p 0 -z 16386 -d 0 
********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

The following table describes the parameter meanings.



Ckg Id



CKG status.


Disk group ID.

Raid Level

RAID levels, 1, 2, 3, 4, 5, 6, and 7 indicating RAID 10, RAID 5,RAID 0, RAID 1, RAID 6, RAID 50, and RAID 3 respectively.

Member Disk Num

Number of member disks.

Mirror Disk Num

Number of mirror disks.

Stripe Unit Size Type

Stripe type.

Chunk Size Type

Chunk type.



Disk ID

Logical ID of CKG member disks.

Chunk ID

Chunk ID.

Is Have Acock

Whether related chunks exist.

Updated: 2019-07-11

Document ID: EDOC1000181619

Views: 637565

Downloads: 256

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