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. 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).
delete quota general

delete quota general


The delete quota general command is used to delete the default directory quota of a file system, or the quota of a specified quota tree.


delete quota general { quota_id=? | file_system_id=? | quota_tree_id=? } [ quota_type=? ]






Indicates the quota ID.

The value describes the ID of a file system quota.To obtain the value, run the "show quota general" command.


Indicates the file system ID.

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


Indicates the quota tree ID. Format: FSID@QuotaTreeID. FSID ranges between 0 and 65535, and QuotaTreeID ranges between 0 and 4096.

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


Indicates the quota type.

The value must be "directory".



Usage Guidelines

  • The following parameters are mutually exclusive: "quota_id","file_system_id" and "quota_tree_id".
  • Enter "quota_id" to delete a specified quota, without "quota_type" inputting.
  • Enter "file_system_id" to delete default directory quota of a file system. The "quota_type" must be entered, and the value must be "directory".
  • Enter "quota_tree_id" to delete directory quota on the specified quota tree. The "quota_type" must be entered, and the value must be "directory".


  • Delete the default directory quota of file system 0.
    admin:/>delete quota general file_system_id=0 quota_type=directory 
    Command executed successfully.
  • Delete the directory quota of quota tree 0@1.
    admin:/>delete quota general quota_tree_id=0@1 quota_type=directory 
    Command executed successfully.
  • Delete the quota of ID 0@1@2@10100.
    admin:/>delete quota general quota_id=0@1@2@10100 
    Command executed successfully.

System Response


Updated: 2019-09-02

Document ID: EDOC1000181601

Views: 329295

Downloads: 41

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