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 2800 V3 V300R006

This document is applicable to OceanStor 2800 V3. 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. 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).
rephc showCgLockInfo

rephc showCgLockInfo


The rephc showCgLockInfo command is used to query the lock information about a single HyperMetro consistency group.


rephc showCgLockInfo [localId]






ID of a local consistency group.

  • In the developer view, run the "show hyper_metro_consistency_group config" command to obtain the value. The value of "Local Cg ID" indicates the local consistency group.
  • The default value is "0".


Diagnostic view

Usage Guidelines



Run the command to query the lock information about a single HyperMetro consistency group.

admin:/diagnose>rephc showCgLockInfo 
Print running lock info. 
 + Lock key           = 0x27800000000. 
 + Is Locked          = 0,FALSE. 
 + Lock time(jiffies) = 2016-03-16/14:42:24(19835543). 
 + Lock function      = getCgLockForLocalId.

System Response

The following table describes the parameter meanings.



Lock key

ID of a HyperMetro pair lock.

Is Locked

Lock status of a HyperMetro pair lock.

Lock time

Time of the last successful lock.

Lock function

Name of the last succesful lock's function.

Updated: 2019-07-12

Document ID: EDOC1000138381

Views: 751958

Downloads: 38

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