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
Parameters
Parameter |
Description |
Value |
---|---|---|
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". |
Example
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