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 for Block

OceanStor Dorado V3 Series V300R002

This document is applicable to OceanStor Dorado3000 V3, Dorado5000 V3, Dorado6000 V3 and Dorado18000 V3. Based on the CLI provided by the DeviceManager, 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.
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 hyper_copy local

create hyper_copy local

Function

The create hyper_copy local command is used to create a HyperCopy pair.

Format

create hyper_copy local name=? source_lun_id=? target_lun_id=? [ copy_speed=? ] [ start_synchronize_after_create=? ] [ description=? ]

Parameters

Parameter

Description

Value

name

HyperCopy pair name.

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

source_lun_id

Source LUN ID or source snapshot ID.

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

2.To obtain the value, run "show snapshot general".

target_lun_id

Target LUN ID.

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

start_synchronize_after_create

Whether to start synchronization after a HyperCopy pair is created.

The value can be "yes" or "no", where:

  • "yes": start synchronization after a HyperCopy pair is created.
  • "no": do not start synchronization after a HyperCopy pair is created.

copy_speed

Copy speed.

The value can be "low", "middle", "high", or "highest", where:

  • "low": indicates the low speed.
  • "middle": indicates the medium speed.
  • "high": indicates the high speed.
  • "highest": indicates the highest speed.

description

Description.

-

Level

Administrator

Usage Guidelines

None

Example

  • Create a HyperCopy pair named "new" for source LUN "5" and target LUN "4".
    admin:/>create hyper_copy local name=new source_lun_id=5 target_lun_id=4 
    Create HyperCopy successfully.
  • Create a HyperCopy pair named "new" for source LUN "6" and target LUN "7" with the "high" copy speed.
    admin:/>create hyper_copy local name=new source_lun_id=6 target_lun_id=7 copy_speed=high 
    WARNING: You are about to create a HyperCopy pair . If you select the high or highest copy speed, the HyperCopy pair will be synchronized or restored at the high or highest speed, which may cause heavy service pressure and decrease the read/write performance of the host. If you select to start synchronization after a HyperCopy pair is created, the source object data will overwrite the target object data. Before performing this operation, ensure that the target object is not being read or written by the host and no data is stored in the host cache. 
    Suggestion:  
    1. Perform this operation during off-peak hours.  
    2. To retain the data of the current target object, back up the target object data first. 
    3. Ensure that the free capacity of the storage pool is greater than the actual capacity of the source object. 
    Have you read warning message carefully?(y/n)y 
    Are you sure you really want to perform the operation?(y/n)y 
    Create HyperCopy successfully.

System Response

None

Translation
Download
Updated: 2019-07-16

Document ID: EDOC1100049140

Views: 120928

Downloads: 149

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