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


To have a better experience, please upgrade your IE browser.


Command Reference 10

OceanStor 18500 V3 and 18800 V3 Mission Critical Storage System V300R003

"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).
add lun_copy other_vendor_target

add lun_copy other_vendor_target


add lun_copy other_vendor_target command is used to add target logical unit numbers (LUNs) for a LUN copy, where the LUNs reside on third-party storage systems.


add lun_copy other_vendor_target lun_copy_id=? target_lun_wwn=?





lun_copy_id=? ID of a LUN copy.

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

target_lun_wwn=? World Wide Name (WWN) of a target LUN, which uniquely specifies a third-party device.

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



Usage Guidelines

  • A taarget LUN can not be added to a LUN Copy which is in the state of copying or pause.
  • The data of a source LUN overwrites that of a target LUN upon the start of a LUN copy task.
  • Befoore running this command, ensure that the selected source and target LUNs are exactly the ones you want to use for a remote LUN copy task, and that no host is accessing the target LUN.
  • Diffferent LUN copies cannot share the same target LUN.


To add a target LUN on a third-party storage system whose WWN is "60:02:2a:11:00:0b:81:68:00:02:93:94:00:00:00:11" to LUN copy "0":

admin:/>add lun_copy other_vendor_target lun_copy_id=0 target_lun_wwn=60:02:2a:11:00:0b:81:68:00:02:93:94:00:00:00:11
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 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


Updated: 2019-07-22

Document ID: EDOC1000084078

Views: 317916

Downloads: 253

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