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 clone

create clone

Function

The create clone command is used to create a clone.

Format

create clone name=? lun_id=? [ clone_id=? ] [ is_immediately_available=? ]

Parameters

Parameter

Description

Value

name=? Name of a clone.

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

lun_id=? ID of the primary LUN.

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

clone_id=? ID of a clone.

The value is an integer ranging from 0 to 1023.

If this parameter is not specified, the system automatically assigns a value.

is_immediately_available=? Whether the clone is available immediately. If you select this option, when the clone pair starts synchronization, the secondary LUN is readable and writable immediately and data of the secondary LUN is consistent with that of the primary LUN when synchronization starts. If you do not select this option, after the clone pair is synchronized and split, the secondary LUN is readable and writable and data of the secondary LUN is consistent with that of the primary LUN when splitting finishes.

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

  • "yes": The clone is available immediately.
  • "no": The clone is not available immediately.
The default value is "no".

Level

Administrator

Usage Guidelines

None

Example

  • Create a clone, where the name is "newclone002", the primary LUN ID is "4", and the clone ID will be automatically assigned.

    admin:/>create clone name=newclone002 lun_id=4
    Command executed successfully.
  • Create a clone, where the name is" myclone", the primary LUN ID is "3", and the clone ID is "2".

    admin:/>create clone name=myclone lun_id=3 clone_id=2
    Command executed successfully.
  • Create an immediately available clone, where the name is" cln0" and the primary LUN ID is "0".

    admin:/>create clone name=cln0 lun_id=0 is_immediately_available=yes
    Command executed successfully.

System Response

None

Translation
Download
Updated: 2020-03-19

Document ID: EDOC1000181601

Views: 406327

Downloads: 56

Average rating:
This Document Applies to these Products

Related Version

Related Documents

Share
Previous Next