Updated on 2025-12-10 GMT+08:00

Managing General-Purpose File System Limits

SFS does not limit the capacity of each general-purpose file system. To enable users to properly allocate and manage capacity and resources, SFS supports limits management for general-purpose file systems. You can configure and remove file system limits as required.

You can configure a capacity limit and the maximum number of files for a general-purpose file system.

Constraints

  • SFS takes about 10 to 20 minutes to update the general-purpose file system's used capacity, so the used capacity displayed on the console may not be the latest. For this reason, the actual used capacity may surpass the limit you configured, or the displayed used capacity may not decrease right after some data is deleted from the file system.
  • After limits are configured, when the general-purpose file system's used capacity reaches the configured limit, new files or directories cannot be created in the file system and append operations to the file system will fail.
  • Configuring limits brings certain risks, so you are advised to evaluate and fully test and verify services before doing so.

Configuring Limits

  1. Log in to the SFS console.
  2. In the navigation pane on the left, choose General Purpose File System > File Systems.
  3. In the file system list, find the target general-purpose file system and click Configure Limits.
  4. On the Limits Management tab, click Configure to open the page shown in Figure 1.

    Figure 1 Configure Limits

  5. Configure limits for the general-purpose file system.

    Capacity Limit (GB): This is a required field. Enter a value greater than 0 and at least equal to the used capacity, in GB.

    Max. Files (Count): This field is optional. Enter a value greater than 0 and at least equal to the number of existing files.

  6. Click OK. View the limits details in the list.

    Figure 2 Limits details

Modifying Limits

  1. On the Limits Management tab, click Configure Limits to open the page shown in Figure 3.

    Figure 3 Modify Limits

  2. Modify the limits.

    Capacity Limit (GB): This is a required field. Enter a value greater than 0 and at least equal to the used capacity, in GB.

    Max. Files (Count): This field is optional. Enter a value greater than 0 and at least equal to the number of existing files.

  3. Click OK. View the limits details in the list.

Removing Limits

  1. On the Limits Management tab, click Delete to open the page shown in Figure 4.

    Figure 4 Removing limits

  2. Click OK.