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 2800 V3 V300R006

This document is applicable to OceanStor 2800 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 lun_copy remote_target

add lun_copy remote_target

Function

The add lun_copy remote_target command is used to add remote target logical unit numbers (LUNs) to a LUN copy task, where the added LUNs must be on a remote storage system from Huawei. You can add extra target LUNs as required by running this command.

Format

add lun_copy remote_target lun_copy_id=? target_array_id=? target_lun_id=?

Parameters

Parameter

Description

Value

lun_copy_id=?

ID of a LUN copy.

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

target_array_id=?

ID of a remote device.

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

target_lun_id=?

ID of a remote LUN.

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

Level

Administrator

Usage Guidelines

  • The data of a source LUN overwrites that of a target LUN upon the start of a LUN copy task.
  • Before running this command, ensure that the selected LUN copy task and target LUN are exactly the ones you want to use for a LUN copy task, and that no application server is accessing the target LUN.
  • The selected LUN copy can not be in the state of copying or paused.
  • Different LUN copy tasks cannot share the same target LUN.

Example

Add a remote target LUN for LUN copy "0", where the ID of the remote device on which the LUN resides is "5" and the target LUN is LUN "2".

admin:/>add lun_copy remote_target lun_copy_id=0 target_array_id=5 target_lun_id=2 
WARNING:You are about to build a LUN copy relationship between source LUN and target LUN. After this operation, the data on the target LUN will be overwritten by the data on the source LUN. 
Suggestion: Before performing this operation, ensure that the selected source and target LUNs are correct, and the target LUN is not being read or written by hosts. 
Have you read warning 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: EDOC1000138382

Views: 319748

Downloads: 38

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