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 5000, 5000F, 6000, and 6000F V5 Series V500R007

This document is applicable to OceanStor 5110 V5, 5110F V5, 5300 V5, 5500 V5, 5600 V5, 5800 V5, 6800 V5, 5300F V5, 5500F V5, 5600F V5, 5800F V5, and 6800F 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).
scsi show tpgstatus -l lunID

scsi show tpgstatus -l lunID

Function

The scsi show tpgstatus -l lunID command is used to view the status of the port group corresponding to a specific LUN.

Format

scsi show tpgstatus -l lunID

Parameters

Parameter

Description

Value

lunID

LUN ID.

The value ranges from 0 to n minus one. The n indicates the maximum number of LUNs supported by the product.

Views

Diagnostic view

Usage Guidelines

None

Example

View the status of the port group corresponding to LUN 0.

admin:/diagnose>scsi show tpgstatus -l 0 
The tpgstatus of LUN id(0) is ffffffffffffffff. 
Every two bits denote a TPG state of one controller:  
AO(active optimized) state = 0x00, AN(active non-optimized) state = 0x01, standby state = 0x02, unavailable state = 0x03. 
The tpg data flag of LUN id(0) is 0. 
TPGDATA_INIT state = 0, TPGDATA_DONE state = 0, TPGDATA_EXECUTEING state = 1. 
The fail over flag of LUN id(0) is 0. 
MODE_SELECT_INIT state = 0, MODE_SELECT_DONE state = 0, MODE_SELECT_FAILOVER state = 1.

System Response

The following table describes the parameter meanings.

Parameter

Meaning

tpgstatus

Status of the port group.

Each two bits represent the status of a node.

For example, bits 0 and 1 represent the status of node 0. Bits 2 and 3 represent the status of node 1.

00b represents AO, 01b represents AN, and 11b represents UNAVALIABLE.

Translation
Download
Updated: 2019-07-11

Document ID: EDOC1000181619

Views: 633272

Downloads: 253

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