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 V3 Series V300R006

This document is applicable to OceanStor 18500 V3 and 18800 V3. 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. 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 space quota

show space quota

Function

The show space quota command is used to query quota information about a specified object.

Format

show space quota quota_tree_id=? quota_type=? [ user_group_id=? ]

Parameters

Parameter

Description

Value

quota_tree_id=?

Quota tree ID. Format: FSID@QuotaTreeID.

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

quota_type=?

Quota type.

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

user_group_id=?

User or user group ID.

The value must be greater than or equal to "0", and less than or equal to "4294967295".

Views

Developer view

Usage Guidelines

None

Example

  • Query directory quota information.
    developer:/>show space quota quota_tree_id=0@1 quota_type=directory 
     
      Quota_tree ID : 0@1 
      Quota_tree Name : qtree 
      Quota Switch : On 
      Quota Type      : Directory 
      User/Group ID : -- 
      User/Group Name : -- 
      User/Group Type : -- 
      Space Used      : 0 
      File Used       : 0
  • Query user or user group quota information.
    developer:/>show space quota quota_tree_id=0@1 quota_type=user user_group_id=0 
      
      Quota_tree ID : 0@1 
      Quota_tree Name : qtree 
      Quota Switch : On 
      Quota Type      : User 
      User/Group ID : 0 
      User/Group Name : root 
      User/Group Type : Local 
      Space Used      : 0 
      File Used       : 0

System Response

The following table describes the parameter meanings.

Parameter

Meaning

Quota_tree ID

Quota tree ID.

Quota_tree Name

Quota tree name.

Quota Switch

Quota switch.

Quota Type

Quota type.

User/Group ID

User or user group ID.

User/Group Name

User or user group name.

User/Group Type

User or user group type.

Space Used

Used space.

File Used

Number of used files.

Translation
Download
Updated: 2019-03-30

Document ID: EDOC1000138389

Views: 394487

Downloads: 80

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