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.


Command Reference 10

OceanStor 5300 V3, 5500 V3, 5600 V3, 5800 V3, and 6800 V3 Storage System V300R003

"Based on the CLI, 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. 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


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.


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





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



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


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

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

System Response


Updated: 2019-07-22

Document ID: EDOC1000084195

Views: 363937

Downloads: 1590

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