spa queryckg
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. |
ckg id | CKG ID. | Hexadecimal number or decimal number. |
Example
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.
Parameter |
Meaning |
---|---|
Ckg Id | CKG ID. |
State | CKG status. |
DG ID | 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. |
Index | Index. |
Disk ID | Logical ID of CKG member disks. |
Chunk ID | Chunk ID. |
Is Have Acock | Whether related chunks exist. |