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


To have a better experience, please upgrade your IE browser.

Advanced O&M Command Reference
OceanStor 2800 V5 V500R007

This document is applicable to OceanStor 2800 V5. Based on the CLI, this document describes how to use various commands classified by functions and 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).
tgt show lunmap

tgt show lunmap


The tgt show lunmap command is used to view LUN mappings in a specific session.


tgt show lunmap -i iniWwn -t tpId





iniWwn Initiator of a specific session.

To obtain the value, run "show initiator".

tpId Target port number of a specific session.

To obtain the value, run "tgt show portlist".


Diagnostic view

Usage Guidelines



View LUN mappings in a session whose initiator is 0x100000053326e258 and target port is 0x110301.

admin:/diagnose>tgt show lunmap -i  0x100000053326e258 -t 0x110301
Session (0xffff88060db8b070):I_T(0x100000053326e258,0x110301),session state(NEW|WORKING|AGING:1),command executing(2)
lun map in session:
hostLun 0, devLun 65536
hostLun 1, devLun 1
hostLun 2, devLun 2
hostLun 3, devLun 3

System Response

The following table describes the parameter meanings.



lun map in session

LUN mappings in the session.

Updated: 2020-03-19

Document ID: EDOC1000181575

Views: 787147

Downloads: 37

Average rating:
This Document Applies to these Products

Related Version

Related Documents

Previous Next