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

create quota_tree general

Function

The create quota_tree general command is used to create a quota tree in a file system.

Format

create quota_tree general file_system_id=? quota_tree_name=? [ quota_switch=? ] [ number=? ] [ security_style=? ] [ path=? ]

Parameters

Parameter

Description

Value

file_system_id=?

Indicates the file system ID.

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

quota_tree_name=?

Indicates the quota tree name.

The value contains 1 to 127 characters, only including letters, digits, spaces, and special characters (!\"#&%$'()*+-.;<=>?@[]^_`{|}~). On the CLI, the following characters need to be represented with escape sequences: "\|" indicates "|", "\\" indicates "\", "\q" indicates "?", and "\s" indicates a space.

quota_switch=?

Indicates the quota switch.

The value is "on" or "off", where:

  • "on": The quota is enabled.
  • "off": The quota is disabled.

number=?

Indicates the number of quota trees to be created.

The value is an integer between 2 and 4096.

security_style=?

Security style supported by a qtree directory.

The value can be "Mixed" or "Native", where:

  • "Mixed": mixed security style.
  • "Native": native security style.

path=?

Absolute path of the quota tree's parent directory.

The value is a string of 1 to 2047 characters and starts with a slash (/).

Level

Administrator

Usage Guidelines

None

Example

Batch create five quota trees in file system 0.

admin:/>create quota_tree general file_system_id=0 path=/ quota_tree_name=quotatree quota_switch=on number=5 security_style=Mixed 
Create the quota tree quotatree0000 successfully. 
Create the quota tree quotatree0001 successfully. 
Create the quota tree quotatree0002 successfully. 
Create the quota tree quotatree0003 successfully. 
Create the quota tree quotatree0004 successfully.

System Response

None

Translation
Download
Updated: 2019-07-12

Document ID: EDOC1000138390

Views: 237512

Downloads: 150

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