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 18500 V3 and 18800 V3 Mission Critical 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).
show quota general

show quota general

Function

The show quota general command is used to query the quota of a file system.

Format

show 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 could be: "directory", "user", "group".

Level

Guest

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 show all quota of a file system. If "quota_type" is entered additionally, the command to show all quota of this type in the file system.
  • Enter "quota_tree_id" to show all quota of a specified quota tree. If "quota_type" is entered additionally, the command to show all quota of this type in the quota tree.

Example

  • Query all quota in the file system 0.

    admin:/>show quota general file_system_id=0
    Quota ID Quota Tree Name Quota Type User/Group Name User/Group Type Space Soft Quota Space Hard Quota File Soft Quota File Hard Quota Space Used File Used Space Used Rate(%) File Used Rate(%)
    --------------- --------------- ---------- --------------- --------------- ---------------- ---------------- --------------- --------------- ---------- ---------- ----------------- -----------------
    0@0@1 All Quota Tree directory -- -- 100.000KB 200.000KB 40.000K 50.000K -- -- -- --
    0@1@1 qt directory -- -- 100.000KB 200.000KB 40.000K 50.000K 50.000KB 1.000K 25 2
  • Query the directory quota of quota tree 0@1.

    admin:/>show quota general quota_tree_id=0@1 quota_type=directory
    Quota ID :0@1@1
    Quota Tree Name :qt
    Quota Type :directory
    User/Group Name :--
    User/Group Type :--
    Space Soft Quota :100.000KB
    Space Hard Quota :200.000KB
    File Soft Quota :40.000K
    File Hard Quota :50.000K
    Space Used :50.000KB
    File Used :1.000K
    Space Used Rate(%) :25
    File Used Rate(%) :2
  • Query the quota of ID 0@1@2@10100.

    admin:/>show quota general quota_id=0@1@2@10100
    Quota ID :0@1@2@10100
    Quota Tree Name :qt
    Quota Type :user
    User/Group Name :engineerA
    User/Group Type :local
    Space Soft Quota :100.000KB
    Space Hard Quota :200.000KB
    File Soft Quota :40.000K
    File Hard Quota :50.000K
    Space Used :50.000KB
    File Used :1.000K
    Space Used Rate(%) :25
    File Used Rate(%) :2

System Response

The following table describes the parameter meanings.

Parameter

Meaning

Quota ID

Indicates the quota ID.

Quota Tree Name

Indicates the quota tree name.

Quota Type

Indicates the quota type.

User/Group Name

user name or group name.

User/Group Type

Indicates the user type or group type.

Space Soft Quota

Indicates the soft quota of space.

Space Hard Quota

Indicates the hard quota of space.

File Soft Quota

Indicates the soft quota of file quantity.

File Hard Quota

Indicates the hard quota of file quantity.

Space Used

Indicates the space in use.

File Used

Indicates the number of files that are in use.

Space Used Rate

Indicates the used rate of hard space quota.

File Used Rate

Indicates the used rate of hard file quota.

Translation
Download
Updated: 2019-04-04

Document ID: EDOC1000084078

Views: 272231

Downloads: 249

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