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

OceanStor 2200 V3 and 2600 V3 Storage System V300R005 Command Reference

"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

Function

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.

Format

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

Parameters

Parameter

Description

Value

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

Level

Administrator

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.

Example

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

None

Translation
Download
Updated: 2019-04-22

Document ID: EDOC1000106139

Views: 259915

Downloads: 176

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