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 2800 V5 V500R007

This document is applicable to OceanStor 2800 V5. 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).
delete hyper_metro_pair log

delete hyper_metro_pair log

Function

The delete hyper_metro_pair log command is used to forcibly delete the HyperMetro log from a specific LUN or file system.

Format

delete hyper_metro_pair log local_pair_id=? { lun_id=? | file_system_id=? }

Parameters

Parameter

Description

Value

local_pair_id=?

ID of a HyperMetro pair.

Export the CCDB and check the incorrect local_pair_id.

lun_id=?

LUN ID.

To obtain the value, run "show lun general".

file_system_id=?

File system ID.

To obtain the value, run "show file_system general".

Views

Developer view

Usage Guidelines

  • Do not use this command without R&D engineers' guidance. This command can be used to delete a log when the HyperMetro database is incorrect and the HyperMetro cannot be deleted on the CLI. Do not use this command in other scenarios.
  • This command must be used with the "delete hyper_metro_db" command. After deleting the corresponding log, restart the system.

Example

  • Delete the HyperMetro log whose local ID is "3" from LUN "0".
    developer:/>delete hyper_metro_pair log local_pair_id=3 lun_id=0 
    DANGER:  You are about to forcibly maintain the HyperMetro configuration. This operation will make the corresponding value-added pair unavailable. 
    This operation enables you to forcibly delete a single configuration item of HyperMetro if HyperMetro objects cannot be deleted properly. 
    Suggestion: Before performing this operation, contract R&D engineers and confirm the following: 
    1. The system is not being configured by other users. 
    2. Host I/Os of HyperMetro LUNs or file system have been stopped. 
    3. The entered parameter values are correct. 
    You need to perform this operation under the guidance of R&D engineers. 
    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.
  • Delete the HyperMetro log whose local ID is "3" from file system "0".
    developer:/>delete hyper_metro_pair log local_pair_id=3 file_system_id=0 
    DANGER:  You are about to forcibly maintain the HyperMetro configuration. This operation will make the corresponding value-added pair unavailable. 
    This operation enables you to forcibly delete a single configuration item of HyperMetro if HyperMetro objects cannot be deleted properly. 
    Suggestion: Before performing this operation, contract R&D engineers and confirm the following: 
    1. The system is not being configured by other users. 
    2. Host I/Os of HyperMetro LUNs or file system have been stopped. 
    3. The entered parameter values are correct. 
    You need to perform this operation under the guidance of R&D engineers. 
    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-11

Document ID: EDOC1000181575

Views: 668544

Downloads: 30

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