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 2800 V3 V300R006

This document is applicable to OceanStor 2800 V3. 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. 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 showmap

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:

  • 0: tier 0.
  • 1: tier 1.
  • 2: tier 2.

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.

Translation
Download
Updated: 2019-07-12

Document ID: EDOC1000138381

Views: 720367

Downloads: 36

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