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).
change quota_tree general

change quota_tree general

Function

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

Format

change quota_tree general quota_tree_id=? { quota_tree_name=? | quota_switch=? | security_style=? } *

Parameters

Parameter

Description

Value

quota_tree_id=? Indicates the quota tree ID. Format: filesystemID@quotatreeID. filesystemID ranges between 0 and 65535, and quotatreeID ranges between 0 and 4096.

To obtain the value, run the "show quota_tree 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 status of the quota switch.

The value can be "on" (enabled quota) or "off" (disabled quota).

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.

Level

Administrator

Usage Guidelines

Enter at least one of the following parameters: "quota_tree_name" and "quota_switch".

Example

  • Change the name of quota tree 0@1 to newqtree.

    admin:/>change quota_tree general quota_tree_id=0@1 quota_tree_name=newqtree
    Command executed successfully.
  • Disable the quota function of quota tree 0@1.

    admin:/>change quota_tree general quota_tree_id=0@1 quota_switch=off
    Command executed successfully.
  • Change the security style of the quota tree whose ID is 0@1 to "NTFS".

    admin:/>change quota_tree general quota_tree_id=0@1 security_style=NTFS
    WARNING: You are about to perform a switchover between the NTFS security style and another security style in the specified quota tree. Before performing this operation, note the following:
    1. When the quota switch is enabled, if you perform a switchover between the NTFS security style and another security style, all files and directories under the quota tree will be scanned again. As a result, the quota switch is changed to the Initializing state, and the quota function does not take effect until its state is changed to Enabled.
    2. The time required for scanning is subject to the number of files and directories under the quota tree and the system workload, including the workload on the CPU, memory, and disks.
    Suggestion: Before performing this operation, ensure that it is necessary to perform a security style switchover on the quota tree.
    Have you read warning message carefully?(y/n)y
     
    Are you sure you really want to perform the operation?(y/n)y
    Command executed successfully.

System Response

None

Translation
Download
Updated: 2020-03-19

Document ID: EDOC1000181601

Views: 406319

Downloads: 56

Average rating:
This Document Applies to these Products

Related Version

Related Documents

Share
Previous Next