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

OceanStor 9000 V300R006C00 File System Feature Guide 12

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).
Creating a Default Quota

Creating a Default Quota

After a default quota is created, it can automatically restrict and collect statistics about the use of a specific directory by any user. You do not need to create quotas for newly created users, simplifying operations related to quotas.

Prerequisites

  • The directory for which you want to create a quota has been created and is empty.
  • The number of created quotas does not reach the upper limit.
  • The number of created default quotas does not reach the upper limit.

Context

The default quota refers to the quota of a specific directory that can be used by any user or user group by default. The default quota can be considered as a user quota template. The default quota is classified into default user quota and default user group quota. The default user quota applies to all users, whereas the default user group quota applies to users in a specific user group.
  • For a specified directory, if default quota is set and a quota item with the same type has not been created manually for a user, the system automatically creates Associated Quota for the user when the user accesses the directory for the first time. This quota is associated with the default quota of the directory, and the use of storage space and file quantity is restricted by the default quota.
  • If the default quota and the quota of user A have been created for a directory, the use of storage space and files by user A is restricted by the user quota instead of the default quota.
  • If only a default quota is configured for a directory, the use of storage space and files is restricted by the default quota.
  • When creating a default quota, you need to select a directory for which you want to create the default quota and determine the quota type.
  • When the administrator creates a default quota, one more default quota is added but the quantity of quota items will not increase. When a user uses a directory for which a default quota is created, the system will automatically create a quota item. That is, one more quota item is added.

Procedure

  1. Log in to DeviceManager.
  2. Choose Provisioning > InfoAllocator > Default Quota.
  3. Click Create.

    The Create Default Quota dialog box is displayed.

  4. Set default quota parameters. Table 4-9 describes related parameters.

    Table 4-9  Default quota parameters

    Parameter

    Description

    Value

    Quota Path

    Directory for which you want to create a default quota. You can enter the path of an existing directory or click Browse to select a folder.

    [Format]

    /Directory name

    [Example]

    /dir

    Quota Type

    The value of the parameter can be:
    • Capacity Quota: manages and monitors the storage space use.
    • File Quantity Quota: manages and monitors the number of used files.

    [Example]

    Capacity Quota

    Quota Mode

    The value of the parameter can be:
    • Calculate Quota: only monitors but not restricts the use of storage space and files.
    • Mandatory Quota: monitors and restricts the use of storage space and files. The mandatory quota involves the following parameters:
      • Hard Threshold: When the used storage space or number of used files reaches the hard threshold, the system forbids writes immediately and reports a run log.
      • Soft Threshold: When the used storage space or number of used files reaches the soft threshold, the system reports an alarm but allows writes in the grace period specified by the soft threshold. After the grace period times out, the system forbids writes immediately and reports an alarm. You must configure a grace period when configuring the soft threshold.
        NOTE:
        When the used storage space or number of used files reaches the soft threshold, the system reports an alarm but allows writes in the grace period specified by the soft threshold. After the grace period times out, the system forbids writes immediately and reports an alarm.
      • Recommended Threshold: When the storage space that has been used reaches the recommended threshold, the system reports an alarm without stopping writes. When the used storage space or number of used files reaches the recommended threshold, the system does not restrict writes but only reports an alarm.

    [Value range]

    • Recommended Threshold: 0 to 4,294,967,294
    • Soft Threshold: 0 to 4,294,967,294
    • Soft Threshold Grace Period: 0 to 4,294,967,294
    • Hard Threshold: 0 to 4,294,967,294
    NOTE:
    • For a capacity quota, the unit of the previous three thresholds is GB; for a file quantity quota, the unit of the previous three thresholds is thousand.
    • The recommended threshold, soft threshold, and hard threshold are optional. If a threshold is set to 0, this threshold is disabled. If none of the three thresholds is set to 0, it is recommended that the values of the recommended threshold, soft threshold, and hard threshold increase in ascending order.
    • You must configure a grace period when configuring the soft threshold.

    [Example]

    If the quota type is Capacity Quota, the mandatory parameter values are as follows:
    • Hard Threshold (GB): 6
    • Soft Threshold (GB): 4
    • Soft Threshold Grace Period (Days): 10
    • Recommended Threshold (GB): 3

  5. Click OK.

    The Execution Result dialog box is displayed indicating that the operation succeeded.

  6. Click Close.

Follow-up Procedure

After a default quota is created, you can log in to the DeviceManager to check the default quota settings, used quota information.
NOTE:

When data is continuously written, the used quota may fluctuate in a short time. After the data writing is complete, wait at least 3 minutes and refresh the InfoAllocator page. The final quota change is displayed on the page.

Translation
Download
Updated: 2019-06-27

Document ID: EDOC1000122519

Views: 70327

Downloads: 145

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