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 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, digits, 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 systems 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.

-

file_system_id=? Indicates the clone 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 clone 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, check whether the parent file system ID is correct.
  • Before the operation, check whether the clone file system name is correct or exists.
  • Multiple file systems can create clone file systems at the same time. Parent file system IDs are separated by commas (,).
  • 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: 2020-01-17

Document ID: EDOC1000181601

Views: 382874

Downloads: 56

Average rating:
This Document Applies to these Products

Related Version

Related Documents

Share
Previous Next