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

Advanced O&M 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, this document describes how to use various commands classified by functionsand how to set the CLI and manage the storage system through these commands.

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=? File system quota ID.

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

file_system_id=? File system ID.

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

quota_tree_id=? Quota tree ID in the format of FSID@QuotaTreeID. The "FSID" value is from 0 and 65535 and the "QuotaTreeID" value is from 0 to 4096.

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

quota_type=? Quota type.

The value can be "directory", "user", or "group".

  • "directory": directory quota.
  • "user": user quota.
  • "group": group quota.

Views

Guest, vstore user view, Upgrade view

Usage Guidelines

  • Enter "quota_id" to delete a specified quota, without "quota_type" inputting.
  • Enter "file_system_id" to show all quotas of a file system. If "quota_type" is entered additionally, the command will show all quotas of this type in the file system.
  • Enter "quota_tree_id" to show all quotas of a specified quota tree. If "quota_type" is entered additionally, the command will show all quotas of this type in the quota tree.

Example

  • Query all quotas in 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 user group name.

User/Group Type

User type or user group type.

Space Soft Quota

Space soft quota.

Space Hard Quota

Space hard quota.

File Soft Quota

File quantity soft quota.

File Hard Quota

File quantity hard quota.

Space Used

Used space.

File Used

Indicates the number of files that are in use.

Space Used Rate(%)

Space hard quota usage.

File Used Rate(%)

File hard quota usage.

Translation
Download
Updated: 2020-01-17

Document ID: EDOC1000181602

Views: 759964

Downloads: 66

Average rating:
This Document Applies to these Products

Related Version

Related Documents

Share
Previous Next