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

This document is applicable to OceanStor 2800 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).
create fs_clone general

create fs_clone general

Function

The create fs_clone general command is used to create a clone file system.

Format

create fs_clone general name=? { parent_file_system_id=? | parent_file_system_id_list=? } [ parent_snapshot_id=? ] [ file_system_id=? ] [ number=? ] [ alloc_type=? ]

Parameters

Parameter

Description

Value

name=?

Indicates the name of the clone you want to create.

The value consists of 1 to 255 ASCII characters including letters, numbers, and underscores (_).However, when you create more than one file systems, the name must be no more than 251 characters.

parent_file_system_id=?

Indicates the ID of the file system for which you want to create a clone.

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

parent_file_system_id_list=?

Indicates the ID list of the file system for which you want to create a clone.

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

parent_snapshot_id=?

Indicates the ID of the snapshot.

The value is the ID of the snapshot.

file_system_id=?

Indicates the file system ID.

The value is an integer between 0 and 65535. If the value is not specified, the system automatically allocates an ID of the newly created file system.

number=?

Indicates the number of file systems that are batch created. If this parameter is specified, the "file_system_id=?" parameter cannot be specified.

The value ranges from 2 to 100. The default value is 1.

alloc_type=?

Indicates the allocation type of the file system.

The value can be "thick" or "thin", where,

  • "thick": When thick file systems are created, fixed capacity is allocated to them.
  • "thin": Capacity of thin file systems will be automatically expanded when the capacity is about to be used up. The capacity cannot exceed the threshold (specified by the "capacity" parameter).

The default value is "thin".

Level

Administrator

Usage Guidelines

  • Before the operation, please check whether the parent file system ID is correct.
  • Before the operation, please check whether the clone file system name is correct or has existed.
  • Multiple file systems can create clone file system at the same time. Parent file system IDs are separated by ",".
  • Multiple clone file systems can be created for a file system.

Example

Create a clone fs named clone1 for file system whose ID is 0.

admin:/>create fs_clone general name=clone1 parent_file_system_id_list=0 
Create clone of file system clone1 successfully.

System Response

None

Translation
Download
Updated: 2019-07-12

Document ID: EDOC1000138382

Views: 319160

Downloads: 38

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