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).
delete clone_db

delete clone_db

Function

The delete clone_db command is used to forcibly delete the DB information about a specified clone.

Format

delete clone_db type=? [ clone_id=? ] [ pair_id=? ] [ lun_id=? ]

Parameters

Parameter

Description

Value

type=?

Indicates the DB type you want to delete.

The value can be "clone", "pair", or "lun".

clone_id=?

Indicates the ID of clone.

Run "show clone general" to obtain the value.

pair_id=?

Indicates the ID of clone pair.

Run "show clone secondary_lun clone_id" to obtain the value.

lun_id=?

Indicates the ID of LUN.

Run "show clone secondary_lun clone_id" to obtain the value.

Views

Developer view

Usage Guidelines

  • Do not use this command without R&D engineers' guidance.
  • This command can only be used when a clone with incorrect DB information cannot be deleted on the CLI. Do not use this command in other scenarios.
  • This command must be used with the "delete clone_rsstype" command. Restart the system after running the commands.
  • OceanStor 6800 V3/2200 V3/2600 V3/5300 V3/5500 V3/5600 V3/5800 V3 storage systems support this command.

Example

  • To delete the DB information about clone group 0, run the following command:
    developer:/>delete clone_db type=clone clone_id=0 
    DANGER: You are clearing the DB information about clone, this operation will forcibly delete DB information about clone. 
    Suggestion: Before you perform this operation, please contact technical support 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.
  • To delete the DB information about clone pair 1, run the following command:
    developer:/>delete clone_db type=pair pair_id=1 
    DANGER: You are clearing the DB information about clone, this operation will forcibly delete DB information about clone. 
    Suggestion: Before you perform this operation, please contact technical support 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.
  • To delete the DB information about the clone group and pair index saved on LUN 2, run the following command:
    developer:/>delete clone_db type=lun lun_id=2 
    DANGER: You are clearing the DB information about clone, this operation will forcibly delete DB information about clone. 
    Suggestion: Before you perform this operation, please contact technical support 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-12

Document ID: EDOC1000138402

Views: 630872

Downloads: 703

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