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).
grain showMergeTreeStatus

grain showMergeTreeStatus

Function

The grain showMergeTreeStatus command is used to query the status of the merge tree of the file system or deduplication LUN.

Format

grain showMergeTreeStatus [id]

Parameters

Parameter

Description

Value

id

ID of the file system or deduplication LUN.

To obtain the file system ID, run the "show file_system general" command without parameters. To obtain the deduplication LUN ID, run the "show lun general" command without parameters.

Views

Diagnostic view

Usage Guidelines

  • Before running this command, check whether the file system ID or deduplication LUN ID is correct.
  • Before running this command, check whether the file system or deduplication LUN is on the current controller.

Example

  • Query the status of the merge tree of the file system whose ID is "0".
    admin:/diagnose>grain showMergeTreeStatus 0 
    Command status:                  0 
    Current version:                 new 
    Upgrade status:                  STATE_MERGE_TREE_NONE 
    Left time:                       147133s 
    Progress:                        NA
  • Query the status of the merge tree of all the file systems and deduplication LUNs.
    admin:/diagnose>grain showMergeTreeStatus 
    Can downgrade:                                   yes 
    STATE_MERGE_TREE_NONE:                           3 
    STATE_ALLOC_TREE_TO_MERGE_TREE_RUNNING:          0 
    STATE_ALLOC_TREE_TO_MERGE_TREE_FINISH:           0 
    STATE_MERGE_TREE_TO_ALLOC_TREE_RUNNING:          0 
    STATE_MERGE_TREE_TO_ALLOC_TREE_FINISH:           0

System Response

The following table describes the parameter meanings.

Parameter

Meaning

Can downgrade

Whether the system can be degraded.

STATE_MERGE_TREE_NONE

Number of file systems and deduplication LUNs whose merge tree is in the initial status.

STATE_ALLOC_TREE_TO_MERGE_TREE_RUNNING

Number of file systems and deduplication LUNs whose allocation tree is being synchronized to the merge tree.

STATE_ALLOC_TREE_TO_MERGE_TREE_FINISH

Number of file systems and deduplication LUNs whose allocation tree has been synchronized to the merge tree.

STATE_MERGE_TREE_TO_ALLOC_TREE_RUNNING

Number of file systems and deduplication LUNs whose merge tree is being synchronized to the allocation tree.

STATE_MERGE_TREE_TO_ALLOC_TREE_FINISH

Number of file systems and deduplication LUNs whose merge tree has been synchronized to the allocation tree.

Command status

Status of the command execution.

Current version

Version of the current merge tree.

Upgrade status

Status of upgrading.

Left time

Remaining time of the time window.

Progress

Synchronization progress.

Translation
Download
Updated: 2019-07-11

Document ID: EDOC1000181619

Views: 638042

Downloads: 256

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