This section describes how to create a quota to control and collect statistics on space usage and file quantity of namespaces or dtrees.
The Create Quota page is displayed.
Non-empty namespaces support directory quotas but not user/user group quotas. Non-empty dtrees do not support directory quotas or user/user group quotas.
The Select User page is displayed.
The Select User Group page is displayed.
Parameter |
Description |
|
|---|---|---|
Space Quota |
Hard Quota |
If the used file space reaches the space hard quota, the system immediately forbids writes and reports an alarm. The file space that exceeds the hard quota cannot be used. [Value range] 1 KB to 256 PB The value must be greater than those of Soft Quota and Advisory Quota.
NOTE:
If the used file space reaches the hard quota, the system forbids writes. If you want the system to report an alarm before writes are forbidden, set a soft quota and an advisory quota. |
Soft Quota |
If the used file space reaches the space soft quota, the system reports an alarm but still allows writes. If the soft quota grace period elapses or hard quota is reached, the system immediately forbids writes and reports an alarm. [Value range] 1 KB to 256 PB The value must be greater than that of Advisory Quota and less than that of Hard Quota. |
|
Advisory Quota |
If the used file space reaches the space advisory quota, the system reports an alarm but still allows writes. [Value range] 1 KB to 256 PB The value must be less than those of Soft Quota and Hard Quota. |
|
Collect Snapshot Space Statistics |
Indicates whether to collect statistics of the snapshot space included in the used file space.
NOTE:
This parameter is available only when Quota Type is set to Directory quota. |
|
File Quantity Quota |
Hard Quota (K) |
If the number of files reaches the file quantity hard quota, the system reports an alarm and new files cannot be added. However, operations on existing files are not affected. The unit is thousands. [Value range] 1 to 100,000,000 The value must be greater than those of Soft Quota (K) and Advisory Quota (K).
NOTE:
If the number of files reaches the hard quota, the system forbids file adding. If you want the system to report an alarm before files cannot be added, set a soft quota and an advisory quota. |
Soft Quota (K) |
If the number of files reaches the file quantity soft quota, the system reports an alarm but new files can still be added. If the soft quota grace period elapses or hard quota is reached, new files cannot be added and an alarm is reported. The unit is thousands. [Value range] 1 to 100,000,000 The value must be greater than that of Advisory Quota (K) and less than that of Hard Quota (K). |
|
Advisory Quota (K) |
If the number of files reaches the advisory quota, the system reports an alarm but new files can still be added. [Value range] 1 to 100,000,000 The value must be less than those of Soft Quota (K) and Hard Quota (K). |
|
Grace Period |
Soft Quota Grace Period (Days) |
If the used file space or number of files reaches the soft quota, the system generates an alarm but still allows writes or new files can still be added within this period. If this period elapses, the system immediately forbids writes and new files cannot be added. In addition, an alarm is reported. [Value range] 1 to 4,294,967,294. If this parameter is not specified, the grace period is unlimited. In this case, if the used file space or number of files reaches the soft quota, the system reports an alarm but does not restrict users' writing data or adding new files.
NOTE:
This parameter can be set only when Soft Quota or Soft Quota (K) is set. |
If you do not set any quota for the space usage or file quantity, the system does not control the space usage or file quantity.