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 18000 and 18000F V5 Series V500R007

This document is applicable to OceanStor 18500 V5, 18800 V5, 18500F V5, and 18800F V5 storage systems. It describes hardware installation of those storage systems for helping you easily and quickly finish the installation.

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_migration

create lun_migration

Function

The create lun_migration command is used to add the target LUN for the source LUN to create a pair for LUN migration.

Format

create lun_migration source_lun_id=? target_lun_id=? [ speed=? ] [ work_mode=? ] [ period_speed=? ] [ period_start_day=? ] [ period_end_day=? ] [ period_start_time=? ] [ duration=? ]

Parameters

Parameter

Description

Value

source_lun_id=? ID of a source LUN.

Run the "show lun general" command without parameters to obtain the value.

target_lun_id=? ID of a target LUN.

Run the "show lun general" command without parameters to obtain the value.

speed=? Data migration speed of a LUN.

The value can be "Low", "Middle", "High", or "Highest", and the default value is "Middle".

work_mode=? Split mode of a LUN migration.

The value can be "Auto" or "Manual", and the default value is "Auto".

period_speed=? Migration rate in a specified period.

The value can be "Low", "Middle", "High", or "Highest", and the default value is "Middle".

period_start_day=? Start day of a specified period.

From 2000-01-01 UTC+08:00 to 2035-12-31 UTC+08:00.

period_end_day=? End day of a specified period.

From 2000-01-01 UTC+08:00 to 2035-12-31 UTC+08:00.

period_start_time=? Start time of a specified period.

From 00:00 to 23:59.

duration=? Duration of a specified period.

From 00:00 to 23:59.

create_target_lun_enable Whether to automatically create a matched target LUN for the source LUN of LUN migration.

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

  • "yes": automatically creates a target LUN that matches the source LUN.
  • "no": selects a LUN as the target LUN for LUN migration. The value of "lun_id" must be a LUN ID that exists in the system.
The default value is "no".

Level

Administrator

Usage Guidelines

  • The "create lun_migration source_lun_id=? target_lun_id=?" command is used to add a target LUN to the created LUN migration. Before using this command, ensure that the target LUN has been created.
  • The "create lun_migration source_lun_id=? target_lun_id=? create_target_lun_enable=? speed=? work_mode=?"command is used to automatically create a target LUN matching the source LUN or manually select a target LUN for LUN migration, and specify the synchronization speed and automatic or manual split mode of LUN migration.

Example

  • Create LUN migration.

    admin:/>create lun_migration source_lun_id=5 target_lun_id=7 
    WARNING: You are about to create a migration relationship between source LUN and target LUN. Migration starts immediately after the relationship is established, and the data on the target LUN will be overwritten by that on the source LUN after the migration.
    Suggestion: Before performing this operation, ensure that the selected source LUN and target LUN are correct and the target LUN is not being read or written by hosts.If the capacity of the target LUN is larger than that of the source LUN, scan for the source LUN again after the migration is complete.
    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.
  • Create LUN migration at the specified speed in a period.

    admin:/>create lun_migration source_lun_id=0 target_lun_id=1 period_speed=High period_start_day=2019-03-12 period_end_day=2019-03-12 period_start_time=08:00 duration=01:00 
    WARNING: You are about to create a migration relationship between the source LUN and target LUN. 
    Migration starts immediately after the relationship is established, and the data on the target LUN will be overwritten by that on the source LUN after the migration.
    Suggestion: Before performing this operation, ensure that the selected source LUN and target LUN are correct and the target LUN is not being read or written by hosts. If the capacity of the target LUN is larger than that of the source LUN, scan for the source LUN again after the migration is complete.
    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: 2020-01-17

Document ID: EDOC1000181601

Views: 380540

Downloads: 56

Average rating:
This Document Applies to these Products

Related Version

Related Documents

Share
Previous Next