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).
spa showckg

spa showckg

Function

The spa showckg command is used to query the CKG information in batches.

Format

spa showckg -p pool id -z zone id -s start index -k meta type -n ckg number

Parameters

Parameter

Description

Value

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.

start index Searched CKG ID.

The value can be hexadecimal number or decimal number.

meta type Types of CKG objects.

The value can be 12 or 13, where:

  • 12: basic information about CKGs.
  • 13: allocation bitmap of CKGs.
ckg number Number of CKGs to be queried.

The value ranges from 1 to 10.

Views

Diagnostic view

Usage Guidelines

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

Example

Query the basic information of CKGs in disk domain 0.

admin:/diagnose>spa showckg -p 0 -z 16386 -s 0 -k 12 -n 2
poolId(0),zoneId(0x4002),startCkgId(0x0),typeId(12)
Ckg Id : 0x40004000
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     530     704        0
1     527     768        0
2     529     896        0
3     516     1344       0
4     -1      16777215   0
5     -1      16777215   0
6     -1      16777215   0
7     -1      16777215   0
8     -1      16777215   0
9     -1      16777215   0
Ckg Id : 0x40004001
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     514     896        0
1     513     832        0
2     529     960        0
3     527     832        0
4     -1      16777215   0
5     -1      16777215   0
6     -1      16777215   0
7     -1      16777215   0
8     -1      16777215   0
9     -1      16777215   0

System Response

The following table describes the parameter meanings.

Parameter

Meaning

Ckg Id

CKG ID.

State

CKG status.

DG ID

ID of the disk group which the CKG is in.

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.

Translation
Download
Updated: 2020-01-17

Document ID: EDOC1000181602

Views: 763726

Downloads: 66

Average rating:
This Document Applies to these Products

Related Version

Related Documents

Share
Previous Next