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 2000, 5000, and 6000 V3 Series V300R006

This document is applicable to OceanStor 2200 V3, 2600 V3 Video Surveillance Edition, 2600 V3, 5300 V3, 5500 V3, 5600 V3, 5800 V3, and 6800 V3. 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).
show omnilock open

show omnilock open

Function

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

Format

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

Parameters

Parameter

Description

Value

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.

Views

Developer view

Usage Guidelines

OceanStor 6800 V3/2200 V3/2600 V3/5300 V3/5500 V3/5600 V3/5800 V3 storage systems support this command.

Example

Query information about file open locks.

developer:/>show omnilock open controller=0A 
-------------------------Proxy------------------------ 
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(192.168.160.24) Life(3343s)  
Grant Node          : Mode(0x1) ID(0x836fc9b024d4000) IP(192.168.0.101) Life(2228s)  
Grant Node          : Mode(0x1) ID(0xf5583a5702a2e000) IP(192.168.170.150) Life(326s)  
Grant Node          : Mode(0x1) ID(0x66a903ac02ae6000) IP(192.168.170.150) Life(216s)  
-------------------------Master----------------------- 
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) 
-------------------------Proxy------------------------ 
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(192.168.170.150) Life(312s)  
Grant Node          : Mode(0x1) ID(0xb2edfd102a86000) IP(192.168.170.150) Life(312s) 

System Response

The following table describes the parameter meanings.

Parameter

Meaning

Filesystem ID

File system ID.

File ID

File ID.

Flags

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.

Reference

Number of reference counts for locks.

Current Mode

Current permission in use.

Status

Lock status.

Event Number

Number of events.

Translation
Download
Updated: 2019-07-12

Document ID: EDOC1000138402

Views: 640175

Downloads: 707

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