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

Command Reference

OceanStor 18000 V3 Series V300R006

This document is applicable to OceanStor 18500 V3 and 18800 V3. Based on the CLI provided by the DeviceManager, this document describes how to use variouscommands classified by functions and how to set the CLI and manage the storage system throughthese 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).
add mirror_lun remote_mirror_copy

add mirror_lun remote_mirror_copy

Function

The add mirror_lun remote_mirror_copy command is used to add a remote mirror copy to a mirror LUN.

Format

add mirror_lun remote_mirror_copy pool_id=? remote_lun_wwn=? name=? mirror_lun_id=? [ is_init_sync=? ]

Parameters

Parameter

Description

Value

pool_id=?

ID of the storage pool where the mirror copy is saved.

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

remote_lun_wwn=?

WWN of a remote LUN. This parameter is used to specify a third-party device.

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

name=?

Name of mirror copy.

The value consists of one to 31 ASCII characters, including digits, underlines (_), hyphens (-), and periods (.).

mirror_lun_id=?

ID of a mirror LUN.

Run the "show mirror_lun general command" without parameters to obtain the value.

is_init_sync=?

Whether to enable initial synchronization or not.

The value can be:

  • "yes": Initial synchronization will be performed.
  • "no": Initial synchronization will not be performed.

The default value is "yes".

Level

Administrator

Usage Guidelines

  • Run the add mirror_lun remote_mirror_copy pool_id=? remote_lun_wwn=? name=? mirror_lun_id=? command to create a remote mirror copy to a mirror LUN.
  • Run the add mirror_lun remote_mirror_copy pool_id=? remote_lun_wwn=? name=? mirror_lun_id=? is_init_sync=? command to create a remote copy to a mirror LUN and indicate whether to enable initial synchronization or not.

Example

  • Adds a remote mirror copy to the mirror LUN.
    admin:/>add mirror_lun remote_mirror_copy pool_id=0 remote_lun_wwn=60000001000000000511c2be00000000 name=copy002 mirror_lun_id=0 
    Create LUN 2 successfully. 
    Add Mirror copy 2 to Mirror LUN 0 successfully.
  • Adds a remote mirror copy to the mirror LUN and enable initial synchronization.
    admin:/>add mirror_lun remote_mirror_copy pool_id=0 remote_lun_wwn=60000001000000000511c2be00000000 name=copy002 mirror_lun_id=0 is_init_sync=yes 
    Create LUN 2 successfully. 
    Add Mirror copy 2 to Mirror LUN 0 successfully.
  • Adds a remote mirror copy to the mirror LUN without enabling the initial synchronization.
    admin:/>add mirror_lun remote_mirror_copy pool_id=0 remote_lun_wwn=62:00:bc:71:00:1f:aa:c0:01:29:c6:8c:00:00:00:22 name=tpf_mirrorcopy2 mirror_lun_id=60 is_init_sync=no 
    DANGER: You are about to add the mirror copy to the mirror LUN without performing initial synchronization. The operation cannot guarantee the data consistency of the mirror copies. 
    Suggestion: Before performing this operation, ensure that the mirror LUN is newly created and has never been read or written. If already consistent, an initial synchronization is not required. 
    Have you read danger alert message carefully?(y/n)y 
    Are you sure you really want to perform the operation?(y/n)y 
    Create LUN 62 successfully. 
    Add Mirror copy 62 to Mirror LUN 60 successfully.

System Response

None

Translation
Download
Updated: 2019-07-12

Document ID: EDOC1000138390

Views: 228200

Downloads: 150

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