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 2800 V5 V500R007

This document is applicable to OceanStor 2800 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).
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 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: 2020-01-17

Document ID: EDOC1000181575

Views: 722064

Downloads: 31

Average rating:
This Document Applies to these Products

Related Version

Related Documents

Previous Next