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).
show metadata_sync general

show metadata_sync general

Function

The show metadata_sync general command is used to query information about the framework of metadata sync.

Format

show metadata_sync general [ key=? ] [ user_type=? ]

Parameters

Parameter

Description

Value

key=?

User ID.

Run the "show metadata_sync general" command to obtain the value.

user_type=?

User type.

Run the "show metadata_sync general" command to obtain the value.

Views

Developer view

Usage Guidelines

None

Example

  • Query information about all metadata sync objects in the device.
    developer:/>show metadata_sync general 
      
      LocalId  RemoteId  ArrayId  Key  UserType  Role ObjState 
      -------  --------  -------  ---  --------  ------  -------- 
      1        1         0        0 6         master  normal 
      2        2         0        1 6         master  normal 
     
  • Query detailed information about the metadata sync object whose Key is "1" and User type is "2" .
    developer:/>show metadata_sync general key=1 user_type=2 
      Pt PtId        IoCnt CmdCnt BgCnt BgState NewStatus LogVer HandledLog PtState EntryTime 
      -- ----------- ----- ------ ----- ------- --------- ------ ---------- ------- ------------------- 
      5  5452595200  0     0      0     2       1         0      5452595201 0       2017-01-03/11:29:10 
      6  5469372416  0     0      0     2       1         0      5469372418 0       2017-01-03/11:29:10 
      7  5486149632  0     0      0     2       1         0      5486149632 0       2017-01-03/11:29:10

System Response

The following table describes the parameter meanings.

Parameter

Meaning

LocalId

ID of local resources.

RemoteId

ID of the remote resources.

ArrayId

Array ID.

Key

User ID.

UserType

User type.

Role

Local or remote end.

ObjState

Status of the metadata sync object: normal, synchronizing, to be synchronized, others.

Pt

Partition number.

PtId

Partition ID.

IoCnt

Count of I/Os.

CmdCnt

Count of system commands.

BgCnt

Count of background tasks.

BgStep

Status of background tasks.

NewStatus

Whether this partition is newly created partition.

LogVer

Current log version.

HandledLog

ID of logs that have been handled.

PtState

Status of the metadata sync object partition.

EntryTime

Time of entering current status.

Translation
Download
Updated: 2019-07-11

Document ID: EDOC1000181619

Views: 581373

Downloads: 231

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