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

Storage:~ # diagnose  
ibc_os_hs:/diagnose>drvist showsess 
Show Session: Alloc[121]Free[119]Current leave[2] Outstandingr2t[0] 
Show PortId[0x20703]Addr[ffffc90018479018]GetCmdNull[0]GetTgtCmdNull[0]FreeVirtualPort[0] 
Show PortId[0x20702]Addr[ffffc900184790d0]GetCmdNull[0]GetTgtCmdNull[0]FreeVirtualPort[0] 
Show PortId[0x20701]Addr[ffffc90018479188]GetCmdNull[0]GetTgtCmdNull[0]FreeVirtualPort[1] 
Show virtual Port[0xff024001]AttachedPort[0x20701]IP[10.47.81.93]Addr[ffff880065004018] 
Show PortId[0x20700]Addr[ffffc90018479240]GetCmdNull[0]GetTgtCmdNull[0]FreeVirtualPort[2] 
Show virtual Port[0xff024000]AttachedPort[0x20700]IP[10.47.81.91]Addr[ffff880064b5b418] 
ISCSI Index[8][ffffc9002e5af018]TgtSess[ffff8803b97d8028]PortId[0xff024000]Trans[1] 
 Ini name[iqn.1996-04.de.suse:01:20e646765ff7] 
 Tgt name[iqn.2006-08.com.huawei:oceanstor:2100e09796b5fa4f::20700:10.47.81.91] 
 ISID=0x000x020x3d0x100x000x00 
 Peer[10.47.81.101/57200]Local[10.47.81.91/3260] 
 TaskMg[0] 
 conn cmd queue depth:[0] 
 sock sndbuf empty cnt:[83186] on wake 
 Block by sgl cnt:[0] 
 Tx[ffff88004a04b558] 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 
Show virtual Port[0xff024100]AttachedPort[0x1020700]IP[10.47.81.90]Addr[ffff880064b5b018] 
ISCSI Index[120][ffffc9002f8d3018]TgtSess[ffff8803b97d8170]PortId[0xff024100]Trans[1] 
 Ini name[iqn.1996-04.de.suse:01:20e646765ff7] 
 Tgt name[iqn.2006-08.com.huawei:oceanstor:2100e09796b5fa4f::1020700:10.47.81.90] 
 ISID=0x000x020x3d0x0f0x000x00 
 Peer[10.47.81.101/44239]Local[10.47.81.90/3260] 
 TaskMg[0] 
 conn cmd queue depth:[0] 
 sock sndbuf empty cnt:[387] on wake 
 Block by sgl cnt:[0] 
 Tx[ffff88004a04bf30] 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 
Show PortId[0x21f01]Addr[ffffc900184792f8]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: 2019-07-11

Document ID: EDOC1000181619

Views: 588652

Downloads: 233

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