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


To have a better experience, please upgrade your IE browser.


Basic Storage Service Configuration Guide for File

OceanStor V3 Series V300R006

This document is applicable to OceanStor 2200 V3, 2600 V3, 5300 V3, 5500 V3, 5600 V3, 5800 V3, 6800 V3, 18500 V3, and 18800 V3. It describes the basic storage services and explains how to configure and manage them.
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).
Working Principles of Quotas

Working Principles of Quotas

You can configure different space sizes and file quantities for various directories for efficient storage resource utilization.

Figure 1-2 Configuring quotas

With SmartQuota, a storage system employs hard quotas (including hard quotas of capacity and file quantity) to restrict the maximum number of resources available to each user. The process is as follows:

  1. In each write I/O operation, SmartQuota checks whether the accumulated quota (Quotas of the used capacity and file quantity + Quotas of the increased capacity and file quantity in this operation) exceeds the preset hard quota.
    1. If the accumulated quota does not exceed the preset hard quota, the follow-up operations can be performed.
    2. If the accumulated quota exceeds the preset hard quota, the write I/O operation fails.
  2. After the write I/O operation is allowed, SmartQuota adds the incremental capacity and file quantity to the previously used capacity and file quantity, updates the quota (Latest capacity + Latest file quantity), and enables the quota and I/O data to be written into the file system.

    The I/O operation and quota update succeed or fail at the same time, ensuring that the used capacity is correct in each I/O check.

If a directory quota, user quota, and user group quota are concurrently configured in a shared directory, each write I/O operation will be restricted by the three quotas. SmartQuota checks each type of quota and rejects the write I/O operation if any hard quota fails the check.

Updated: 2019-07-12

Document ID: EDOC1000138856

Views: 61729

Downloads: 828

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