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 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).
drvist showsess

drvist showsess

Function

The drvist showsess command is used to view information about all Internet Small Computer Systems Interface (iSCSI) sessions.

Format

drvist showsess [ mode ]

Parameters

Parameter

Description

Value

mode c: all commands in the connection. p: the negotiation parameter corresponding to the connection. t: the tag corresponding to the connection.

-

Views

Diagnostic view

Usage Guidelines

None

Example

View information about all iSCSI sessions.

admin:/diagnose>drvist showsess
Show Session: Alloc[2]Free[1]Current leave[1] Outstandingr2t[0]
Show PortId[0x21f01]Addr[00000000ec12100e]GetCmdNull[0]GetTgtCmdNull[0]FreeVirtualPort[0]
Show PortId[0x21f02]Addr[00000000a988a3a6]GetCmdNull[0]GetTgtCmdNull[0]FreeVirtualPort[0]
Show PortId[0x21f03]Addr[0000000015d5111b]GetCmdNull[0]GetTgtCmdNull[0]FreeVirtualPort[0]
Show PortId[0x21f04]Addr[0000000071d3ddfd]GetCmdNull[0]GetTgtCmdNull[0]FreeVirtualPort[0]
Show PortId[0x21f05]Addr[00000000380e7f71]GetCmdNull[0]GetTgtCmdNull[0]FreeVirtualPort[0]
Show PortId[0x21f06]Addr[00000000357daf7c]GetCmdNull[0]GetTgtCmdNull[0]FreeVirtualPort[0]
Show PortId[0x21f07]Addr[000000003715a9c8]GetCmdNull[0]GetTgtCmdNull[0]FreeVirtualPort[0]
Show PortId[0x21f08]Addr[00000000a2648878]GetCmdNull[0]GetTgtCmdNull[0]FreeVirtualPort[0]
Show PortId[0x22006]Addr[000000000bb1adc7]GetCmdNull[0]GetTgtCmdNull[0]FreeVirtualPort[0]
Show PortId[0x22007]Addr[0000000034ab5ad5]GetCmdNull[0]GetTgtCmdNull[0]FreeVirtualPort[0]
Show PortId[0x22005]Addr[0000000020def574]GetCmdNull[0]GetTgtCmdNull[0]FreeVirtualPort[0]
Show PortId[0x22004]Addr[000000000b16310e]GetCmdNull[0]GetTgtCmdNull[0]FreeVirtualPort[0]
Show PortId[0x22003]Addr[00000000f0383e24]GetCmdNull[0]GetTgtCmdNull[0]FreeVirtualPort[0]
Show PortId[0x22002]Addr[00000000f06c06a5]GetCmdNull[0]GetTgtCmdNull[0]FreeVirtualPort[0]
Show PortId[0x22008]Addr[00000000403d37f9]GetCmdNull[0]GetTgtCmdNull[0]FreeVirtualPort[0]
Show PortId[0x22009]Addr[0000000008930388]GetCmdNull[0]GetTgtCmdNull[0]FreeVirtualPort[0]
Show PortId[0x20000]Addr[00000000a8e8c686]GetCmdNull[0]GetTgtCmdNull[0]FreeVirtualPort[0]
Show PortId[0x20001]Addr[00000000d5006bbf]GetCmdNull[0]GetTgtCmdNull[0]FreeVirtualPort[0]
Show PortId[0x20002]Addr[000000006475f57c]GetCmdNull[0]GetTgtCmdNull[0]FreeVirtualPort[1]
Show virtual Port[0xff120002]AttachedPort[0x20002]IP[10.47.81.90]Addr[00000000f6e539a0]
ISCSI Index[1][0000000002495183]TgtSess[00000000df91d3a5]PortId[0xff120002]Trans[1]Conn[00000000b918af62]
   Ini name[iqn.1996-04.de.suse:01:2d5373cb2fa4]
   Tgt name[iqn.2014-08.com.example:oceanstor:ffff200504030201::20002:10.47.81.90]
   ISID=0x000x020x3d0x690x000x00
   Peer[10.47.81.101/60433]Local[10.47.81.90/3260]
   TaskMg[0]
   conn cmd queue depth:[0]
   sock sndbuf empty cnt:[320289] on wake
   Block by sgl cnt:[0]
   Tx[0000000032f5757a] Tx name[ist_tx_1] Busy status[2] Qdepth[128]
   Conn use dynamic alloc unsolbuf num:[0]
   Conn use Prealloc unsolbuf num:[0]
   Conn use the greatest unsolbuf size:[4096]bytes
TCPinfo: RecvRtt[1000] Lost[0] Retrans[0] Total_retrans[177]
ISCSI trans conn[00000000844967f7] recv info:
   Ready [7217610] Done [7217862] Bytes [1462795440]
 
Show PortId[0x20003]Addr[000000006e586012]GetCmdNull[0]GetTgtCmdNull[0]FreeVirtualPort[0]

System Response

The following table describes the parameter meanings.

Parameter

Meaning

Alloc

Number of sessions once established.

Free

Number of sessions released.

Current leave

Number of current sessions.

Outstandingr2t

Number of incomplete R2Ts.

PortId

Service port ID.

Addr

Information about the port address.

GetCmdNull

Fails to obtain the command.

GetTgtNull

Fails to obtain the TGT command.

Index

Index.

TgtSess

Information about the Target session.

Trans

Protocol of the transport layer.

Ini name

Initiator name of the host.

Tgt name

Target name of the disk array.

ISID

ISID value of iSCSI.

Peer

Peer IP address or port.

Local

Local IP address or port.

TaskMg

Times of task management.

Conn cmd queue depth

Depth of the command queue.

Sock sndbuf empty cnt

Count of collecting an empty message from the buffer of socket sending.

Block by sgl cnt

Count of failing to apply for the sgl resource.

Qdepth

Queue depth.

Show cmd

Displays the command.

Session nego parameter

Negotiation parameter of the session.

Tag for this session.

Tag for this session.

virtual Port

ID of the virtual port.

AttachedPort

ID of the physical port to which the virtual port corresponds.

IP

IP address of the virtual port.

Addr

Memory address of the virtual port structure.

Translation
Download
Updated: 2020-03-19

Document ID: EDOC1000181575

Views: 784003

Downloads: 37

Average rating:
This Document Applies to these Products

Related Version

Related Documents

Share
Previous Next