spa showmap
Function
The spa showmap command is used to view the map of selected disks on a tier in the disk domain. This command is used to view the disk map when the disk cannot be selected.
Format
spa showmap -p pool id -t tier id
Parameters
Parameter |
Description |
Value |
---|---|---|
pool id |
The ID of disk domain. |
The ID can be obtained by running the show disk_domain general command in super administrator mode. |
tier id |
IDs of storage tiers with different performance. |
The value can be 0, 1, or 2,where:
|
Views
Diagnostic view
Usage Guidelines
This command must be run on the working controller of the disk domain.
Example
View the disk map of tier 1 in disk domain 0.
admin:/diagnose>spa showmap -p 0 -t 1
Name : Select Map
Pool ID : 0
Tier ID : 1
Disk Number : 12
Bucket ID : -1
Type : 3
Weight : 6681998124
Size : 1
Meta Normal Size : 1
Data Normal Size : 1
Item Weight Status FaultStatus
---------- --------------- ----------- ------------
4294967294 6681998124 1 1 1
Bucket ID : -2
Type : 2
Weight : 6681998124
Size : 2
Meta Normal Size : 2
Data Normal Size : 2
Item Weight Status FaultStatus
---------- --------------- ----------- ------------
4294967293 3340999062 1 1 1
Bucket ID : -3
Type : 1
Weight : 3340999062
Size : 6
Meta Normal Size : 6
Data Normal Size : 6
Item Weight Status FaultStatus
---------- --------------- ----------- ------------
515 556833177 1 1 1
524 556833177 1 1 1
525 556833177 1 1 1
541 556833177 1 1 1
546 556833177 1 1 1
532 556833177 1 1 1
4294967292 3340999062 1 1 1
Bucket ID : -4
Type : 1
Weight : 3340999062
Size : 6
Meta Normal Size : 5
Data Normal Size : 5
Item Weight Status FaultStatus
---------- --------------- ----------- ------------
517 556833177 1 1 1
518 556833177 1 1 1
528 556833177 1 1 1
533 556833177 1 1 0
537 556833177 1 1 1
542 556833177 1 1 1
Rule[0] Len : 4
Step[0] Opcode : 1, Arg1:-1, Arg2:0
Step[1] Opcode : 2, Arg1:1, Arg2:2
Step[2] Opcode : 2, Arg1:1, Arg2:0
Step[3] Opcode : 3, Arg1:0, Arg2:0
Rule[1] Len : 3
Step[0] Opcode : 1, Arg1:-1, Arg2:0
Step[1] Opcode : 2, Arg1:1, Arg2:2
Step[2] Opcode : 3, Arg1:0, Arg2:0
Rule[2] Len : 5
Step[0] Opcode : 1, Arg1:-1, Arg2:0
Step[1] Opcode : 2, Arg1:1, Arg2:33554434
Step[2] Opcode : 2, Arg1:2, Arg2:33554433
Step[3] Opcode : 2, Arg1:2, Arg2:33554432
Step[4] Opcode : 3, Arg1:0, Arg2:0
Rule[3] Len : 5
Step[0] Opcode : 1, Arg1:-1, Arg2:0
Step[1] Opcode : 2, Arg1:1, Arg2:2
Step[2] Opcode : 2, Arg1:2, Arg2:1
Step[3] Opcode : 2, Arg1:2, Arg2:0
Step[4] Opcode : 3, Arg1:0, Arg2:0
System Response
The following table describes the parameter meanings.
Parameter |
Meaning |
---|---|
Name |
Name. |
Pool ID |
Disk domain ID. |
Tier ID |
Tier ID. |
Disk Number |
Number of disks. |
Bucket ID |
Enclosure ID. |
Type |
Enclosure type. |
Weight |
Enclosure weight. |
Size |
Number of items in an enclosure. |
Normal Size |
Normal number of items. |
Item |
Item ID. |
Weight |
Weight. |
Status |
Status. |
FaultStatus |
Fault status. |
Rule[0] Len |
Rule length. |
Opcode |
Rule operation code. |
Step[0] |
Rule steps. |
Arg1 |
Rule parameter 1. |