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 file

show omnilock file


The show omnilock file command is used to query information about the file ID, file system ID, and file lock primary node ID.


show omnilock file path=? controller=?





path=? Full path of a file.

The value ranges from 1 to 4096 bytes.

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


Developer view

Usage Guidelines



Query information about the file ID, file system ID, and file lock primary node ID.

developer:\>show omnilock file path=/root/test controller=0A
Filesystem ID     :  0x1
File ID        :  0x1234    
Master Node      :  1

System Response

The following table describes the parameter meanings.



Filesystem ID

File system ID.

File ID

File ID.

Master Node

Primary node ID of a file lock.

Updated: 2020-01-17

Document ID: EDOC1000181602

Views: 748137

Downloads: 59

Average rating:
This Document Applies to these Products

Related Version

Related Documents

Previous Next