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 V3 Series V300R006

This document is applicable to OceanStor 18500 V3 and 18800 V3. 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. 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 clone secondary_lun

add clone secondary_lun

Function

The add clone secondary_lun command is used to add secondary LUNs for a clone. After a clone is created, you can run this command to add a secondary LUN to the clone to form a pair with the existing primary LUN in the clone.

Format

add clone secondary_lun clone_id=? lun_id=? { initial_synchronization=? | synchronization_rate=? | recovery_policy=? | second_lun_access=? } *

Parameters

Parameter

Description

Value

clone_id=?

Clone ID.

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

lun_id=?

ID of the secondary LUN to be added.

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

initial_synchronization=?

Whether or not to implement initial synchronization for a newly added secondary LUN.

The value can be:

  • "yes": Initial synchronization will be performed.
  • "no": Initial synchronization will not be performed.

The default value is "yes".

synchronization_rate=?

Synchronization rate.

The value can be:

  • "Low": indicates the low rate.
  • "Middle": indicates the medium rate.
  • "High": indicates the high rate.
  • "Highest": indicates the highest rate.

The default value is "Middle".

recovery_policy=?

Recovery policy.

The value can be:

  • "manual": indicates manual recovery.
  • "automatic": indicates automatic recovery.

The default value is "automatic".

second_lun_access=?

Read and write attributes of the secondary LUN.

The value can be:

  • "read_only": The secondary LUN can only be read.
  • "none": The secondary LUN cannot be read or written.

The default value is "read_only".

Level

Administrator

Usage Guidelines

  • To add a secondary LUN to a clone, run "add clone secondary_lun clone_id=? lun_id=?".
  • To add a secondary LUN and specify initial synchronization, synchronization rate, recovery policy, and secondary LUN access permission, run "add clone secondary_lun clone_id=? lun_id=? initial_synchronization=? synchronization_rate=? recovery_policy=? second_lun_access=?".

Example

Add secondary LUN "14" to clone "0".

admin:/>add clone secondary_lun clone_id=0 lun_id=14 
Command executed successfully.

System Response

None

Translation
Download
Updated: 2019-07-12

Document ID: EDOC1000138390

Views: 226676

Downloads: 150

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