CPFS Compute Edition supports setting capacity and file number quotas for filesets to limit their usage. This topic describes how to create, modify, and cancel quotas.
Prerequisites
You have created a CPFS Compute Edition file system. For more information, see Create a file system.
You have created a fileset. For more information, see Create a Fileset.
Limits
Currently, the fileset feature is available only to whitelist users with limited access. If you want to use the fileset feature, you can submit a ticket to request access to the fileset whitelist.
Limit | Description |
File system | Only CPFS Compute Edition 2.7.0 and later versions support Fileset quotas. |
Quota | Only one quota is supported for each Fileset path. |
Quota capacity | The minimum capacity is 10 GiB, with a scale-out increment of 1 GiB. |
Quota file count | The minimum file count is 10,000, with a scale-out increment of 1. The maximum limit is 10 billion. |
Quota write | If the data written to a Fileset reaches the capacity quota or the number of files written reaches the file count quota, no new data can be written. |
Quota statistics | Quota statistics have approximately a 15-minute latency. The current actual usage will take effect after approximately 15 minutes. |
Modify quota | When you modify a directory quota, the specified quota capacity or file count must be higher than the used capacity or file count. Otherwise, an error occurs. |
Directory quota creation
Log on to the NAS console.
In the navigation pane on the left, choose File System > File System List.
In the upper-left corner of the page, select the resource group and region where the target file system is located.

Find the target file system, click the file system ID or click Manage, go to the Quota Management page, and click Create Directory Quota.
In the Create Directory Quota dialog box, configure the following parameters.
Parameter
Description
Fileset ID
Specify the Fileset ID.
Fileset Path
The Fileset path is automatically filled after you select the Fileset ID. You cannot modify it.
Capacity Limit
You must configure at least one of the Capacity Limit (GiB) and File Limit parameters.
If you leave the Capacity Limit empty, no capacity limit is set.
The minimum storage capacity is 10 GiB.
File Quantity Limit
You must configure at least one of the Capacity Limit (GiB) and File Limit parameters.
If you leave the File Limit empty, no file count limit is set.
The minimum file count is 10,000, and the maximum is 1,000,000,000.
Click OK.
Cancel quota
On the Quota Management page, find the target quota entry and click Delete.
Modify quota
When you modify a directory quota, the specified quota capacity or file count must be higher than the used capacity or file count. Otherwise, an error occurs.
You can modify the capacity limit and file count limit of a quota.
On the Quota Management page, find the target quota entry and click Edit.
In the dialog box that appears, modify the Capacity Limit or File Quantity Limit of the quota.
Capacity Limit: The increment is 1 GiB.
File Limit: The increment is 1, and the maximum value is 1,000,000,000.