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 lun_clone general

create lun_clone general

Function

The create lun_clone general command is used to create clones. You can create an identical and usable point-in-time duplicate for a data object by running this command.

Format

create lun_clone general name=? { source_id=? | source_id_list=? } [ clone_id=? ] [ split_speed=? ] { [ dedup_enable=? ] [ compress_enable=? ] | [ workload_type_id=? ] } [ io_priority=? ]

Parameters

Parameter

Description

Value

name

Name of a clone.

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

NOTE:

When creating clones in a batch, the length of name=? cannot exceed 27 characters.

source_id

ID of a source LUN or a source snapshot.

  • To obtain the value, run "show lun_clone available_lun".
  • To obtain the value, run "show lun_clone available_snapshot".

source_id_list

ID list of source LUNs or source snapshots.

  • To obtain the value, run "show lun_clone available_lun" or "show lun_clone available_snapshot".
  • You can specify multiple LUN or snapshot IDs separated by commas (,), or ID range using hyphens(-), such as: 0, 5-8.

clone_id

Clone ID.

The value is an integer ranging from 0 to 16383.

split_speed

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

The default value is "middle".

dedup_enable

Indicates whether the deduplication function is enabled.

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

  • "yes": The deduplication function will be enabled.
  • "no": The deduplication function will not be enabled.

compress_enable

Indicates whether the compression function is enabled.

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

  • "yes": The compression function will be enabled.
  • "no": The compression function will not be enabled.

workload_type_id

ID of the workload.

The value is an integer from 0 to 143.

io_priority

I/O priority of a LUN.

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

  • "low": indicates the low priority.
  • "middle": indicates the medium priority.
  • "high": indicates the high priority.

The default value is "low".

Level

Administrator

Usage Guidelines

You can create multi-clones for different LUNs in the mean time.

Example

  • Create a clone for LUN "5", and the name is "new".
    admin:/>create lun_clone general name=new source_id_list=5 
    Create lun_clone new successfully. 
  • Create a clone simultaneously for LUNs "1", "3", and "4".
    admin:/>create lun_clone general name=clone source_id_list=1,3,4 
    Create lun_clone clone0000 successfully. 
    Create lun_clone clone0001 successfully. 
    Create lun_clone clone0002 successfully.

System Response

None

Translation
Download
Updated: 2019-04-09

Document ID: EDOC1100049140

Views: 103333

Downloads: 119

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