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 10

OceanStor 5300 V3, 5500 V3, 5600 V3, 5800 V3, and 6800 V3 Storage System V300R003

"Based on the CLI, 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

Function

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.

Format

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

Parameters

Parameter

Description

Value

quota_id=? Indicates the quota ID.

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

file_system_id=? Indicates the file system ID.

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

quota_tree_id=? 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.

quota_type=? Indicates the quota type.

The value must be "directory".

Level

Administrator

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 defaul 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".

Example

  • 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

None

Translation
Download
Updated: 2019-04-04

Document ID: EDOC1000084195

Views: 304191

Downloads: 1561

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