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.


OceanStor 2200 V3 and 2600 V3 Storage System V300R005 Command Reference 06

"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."

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).
create lun_copy other_vendor

create lun_copy other_vendor


The create lun_copy other_vendor command is used to create remote logical unit number (LUN) copies. The employed remote storage systems must be from third-party manufacturers.


create lun_copy other_vendor name=? local_role=? lun_id=? remote_lun_wwn=? [ copy_speed=? ] [ is_target_lun_check=? ]





name=? Name of a LUN copy.

The value contains 1 to 31 characters including digits, letters, underscores (_), hyphens (-), and periods (.).

local_role=? Role of a local LUN.

The value is case-insensitive and can be:

  • "source": The local LUN is the source LUN.
  • "destination": The local LUN is the target LUN.
lun_id=? ID of a local LUN.

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

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

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

copy_speed=? Speed of a LUN copy task.

The value can be:

  • "Low": indicates the low copy speed.
  • "Middle": indicates the medium copy speed.
  • "High": indicates the high copy speed.
  • "Highest": indicates the highest copy speed.
The default value is "Middle".
is_target_lun_check=? Indicates whether to check the target LUN. This command can only be executed in developer mode. For details about how to log in to developer mode, see Restricted Command Reference.

The value can be:

  • "yes": The target LUN will be checked.
  • "no": The target LUN will not be checked.
The default value is "yes".



Usage Guidelines

  • The data of a source LUN overwrites that of a target LUN upon the start of a remote LUN copy task.
  • Before 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.
  • Either the source or the target LUN must be on a local device for a single remote LUN copy task. If the copy type is incremental copy, a source LUN must be on a local device.
  • The capacity of a target LUN must be no less than that of a source LUN for a single LUN copy task.
  • Different LUN copies cannot share the same target LUN.


To create a LUN copy, where the name of the LUN copy is "test", the source LUN is local LUN "1", the target LUN is the remote LUN whose WWN is "60:02:2a:11:00:0b:81:68:00:02:93:94:00:00:00:11".

admin:/>create lun_copy other_vendor name=test local_role=source lun_id=1 remote_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 warning 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: EDOC1000106139

Views: 364595

Downloads: 238

Average rating:
This Document Applies to these Products

Related Version

Related Documents

Previous Next