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

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).
change quota file_system

change quota file_system

Function

The change quota file_system command is used to change the default directory quota of a file system.

Format

change quota file_system file_system_id=? quota_type=? { space_hard_quota=? | space_soft_quota=? | file_hard_quota=? | file_soft_quota=? } *

Parameters

Parameter

Description

Value

file_system_id=?

Indicates the file system ID.

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

quota_type=?

Indicates the quota type.

The value must be "directory".

space_hard_quota=?

Indicates the hard quota of space.

The value must be greater than the space soft quota, and smaller than or equal to 16,384 TB.

space_soft_quota=?

Indicates the soft quota of space.

The value must be smaller than the hard space quota. If the hard space quota is not specified, the value must be smaller than or equal to 16,384 TB.

file_hard_quota=?

Indicates the hard quota of file quantity, expressed in thousand(K).

The value must be greater than the soft quota of file quantity, and smaller than or equal to 2,000,000K.

file_soft_quota=?

Indicates the soft quota of file quantity, expressed in thousand(K).

The value must be smaller than the hard quota of file quantity. If the hard quota of file quantity is not specified, the value must be smaller than or equal to 2,000,000K.

Level

Administrator

Usage Guidelines

  • The quota_type must be "directory".

Example

Change the hard space quota and soft file quota of the file system 0 to 1 GB and 100 thousand respectively.

admin:/>change quota file_system file_system_id=0 quota_type=directory space_hard_quota=100GB file_hard_quota=100K 
Command executed successfully.

System Response

None

Translation
Download
Updated: 2019-09-02

Document ID: EDOC1000181601

Views: 320757

Downloads: 41

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