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 18000 and 18000F V5 Series V500R007

This document is applicable to OceanStor 18500 V5, 18800 V5, 18500F V5, and 18800F 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).
show omnilock open

show omnilock open


The show omnilock open command is used to query information about file open locks.


show omnilock open controller=? [ file_system_id=? ] [ file_id=? ] [ client_ip=? ]





file_system_id=? File system ID.

The value is a hexadecimal number, ranging from 0 to FFFFFFFF FFFFFFFF.

file_id=? File ID.

The value is a hexadecimal number, ranging from 0 to FFFFFFFF FFFFFFFF.

controller=? Controller ID.

The value format is "XA", "XB", "XC", or "XD". "X" is an integer ranging from 0 to 3, for example, "0A" or "1C".

client_ip=? Client IP address.

The value cannot be greater than 32 bytes.


Developer view

Usage Guidelines



Query information about file open locks.

developer:/>show omnilock open controller=0A
Filesystem ID       : 0x0
File ID             : 0x3
Reference           : 6
Grant Number        : 4
Grant Mode          : 0x1
Current Mode        : 0x1
Status              : 0
Flags               : 0x1
Event Number        : 0
Bits Count          : 3 0 0 0 0 0 0 0 0 0 0 
Grant Node          : Mode(0x0) ID(0xce524eec0241e000) IP( Life(3343s) 
Grant Node          : Mode(0x1) ID(0x836fc9b024d4000) IP( Life(2228s) 
Grant Node          : Mode(0x1) ID(0xf5583a5702a2e000) IP( Life(326s) 
Grant Node          : Mode(0x1) ID(0x66a903ac02ae6000) IP( Life(216s) 
Filesystem ID       : 0x0
File ID             : 0xfa5
Flags               : 0x0
Grace Expire        : 0x0
Revoke Number       : 0
Revoke Status       : 0
Migrate Status      : 0
Wait Number         : 0
Increase Number     : 0
Grant Number        : 1
Grant Mode          : 0x1
Bits Count          : 1 0 0 0 0 0 0 0 0 0 0 
Grant Node          : Node(0) Mode(0x1) Flags(0x0)
Filesystem ID       : 0x0
File ID             : 0xfa5
Reference           : 4
Grant Number        : 2
Grant Mode          : 0x1
Current Mode        : 0x1
Status              : 0
Flags               : 0x1
Event Number        : 0
Bits Count          : 2 0 0 0 0 0 0 0 0 0 0 
Grant Node          : Mode(0x1) ID(0x8cd8221f02a85000) IP( Life(312s) 
Grant Node          : Mode(0x1) ID(0xb2edfd102a86000) IP( Life(312s) 

System Response

The following table describes the parameter meanings.



Filesystem ID

File system ID.

File ID

File ID.


Open lock flag.

Grace Expire

Silent timeout.

Revoke Number

Revoking times of open locks.

Migrate Status

Migration status of open locks.

Revoke Status

Revoking status of open locks.

Wait Number

Number of requests waiting for grant locks.

Increase Number

Number of locks for incremental migration.

Grant Number

Number of grant locks.

Grant Mode

Granting permission.

Bit Count

Permission bit count.

Wait Node

Wait node.

Grant Node

Grant node.


Number of reference counts for locks.

Current Mode

Current permission in use.


Lock status.

Event Number

Number of events.

Updated: 2020-01-17

Document ID: EDOC1000181602

Views: 748024

Downloads: 59

Average rating:
This Document Applies to these Products

Related Version

Related Documents

Previous Next