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).
change dlm directory_recovery

change dlm directory_recovery

Function

The change dlm directory_recovery command is used to recover distributed lock directory.

Format

change dlm directory_recovery recovery_mode=? controller=?

Parameters

Parameter

Description

Value

recovery_mode=?

Recovery mode.

The value can be "condition" or "force", where:

  • "condition": conditional recovery.
  • "force": forcible recovery.

controller=?

Controller ID.

The value is in the format of XA, XB, XC, or XD, where X indicates an integer from 0 to 3, for example, "0A", "1C".

Views

Developer view

Usage Guidelines

Before running this command, you must suspend HyperMetro pairs in the storage system.

Example

  • Recover the distributed lock directory on controller A conditionally.
    developer:/>change dlm directory_recovery recovery_mode=condition controller=0A 
    DANGER: 
    You are about to recover the DLM lock directory. This operation can be performed in a storage system only when HyperMetro pairs have been configured and suspended for the storage system. 
    Suggestion: Before performing this operation, ensure that HyperMetro pairs have been suspended. 
      
    Have you read danger alert message carefully?(y/n)y 
      
    Are you sure you really want to perform the operation?(y/n)y 
    Command executed successfully. 
     
  • Recover the distributed lock directory on controller A forcibly.
    developer:/>change dlm directory_recovery recovery_mode=force controller=0A 
    DANGER: 
    You are about to recover the DLM lock directory. This operation can be performed in a storage system only when HyperMetro pairs have been configured and suspended for the storage system. 
    Suggestion: Before performing this operation, ensure that HyperMetro pairs have been suspended. 
      
    Have you read danger alert message carefully?(y/n)y 
      
    Are you sure you really want to perform the operation?(y/n)y 
    Command executed successfully.

System Response

None

Translation
Download
Updated: 2019-07-12

Document ID: EDOC1000138402

Views: 642341

Downloads: 708

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