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

OceanStor 18000 V3 Series V300R006

This document is applicable to OceanStor 18500 V3 and 18800 V3. Based on the CLI provided by 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. 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


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


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






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.


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

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


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


Indicates the ID of the snapshot.

The value is the ID of the snapshot.


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.


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.


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



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.


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


Updated: 2019-07-12

Document ID: EDOC1000138390

Views: 238725

Downloads: 150

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