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

create quota_tree general


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


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





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", "Native", "NTFS", or "UNIX", where:

  • "Mixed": mixed security style.
  • "Native": native security style.
  • "NTFS": NTFS security style.
  • "UNIX": UNIX 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 (/).

unix_permissions=? Permissions to access the quota tree.

The value consists of three digits, where:

  • The first digit refers to the permissions of the owner.
  • The second digit refers to the permissions of the user group to which the file belongs.
  • The last digit refers to the permissions of everyone else.
The digits are from 0 to 7, where:
  • "0": No permission.
  • "1": Execute permission.
  • "2": Write permission.
  • "3": Write and execute permissions.
  • "4": Read permission.
  • "5": Read and execute permissions.
  • "6": Read and write permissions.
  • "7": All permissions (read, write, and execute).



Usage Guidelines



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


Updated: 2020-01-17

Document ID: EDOC1000181601

Views: 379780

Downloads: 51

Average rating:
This Document Applies to these Products

Related Version

Related Documents

Previous Next