Updated on 2024-11-15 GMT+08:00

Limits Management

SFS does not limit the capacity of each file system. To enable users to properly allocate and manage capacity and resources, General Purpose File System allows you to manage limits of file systems. You can configure and remove file system limits as required.

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

Notes and Constraints

  • SFS takes about 10 to 20 minutes to update the 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 file system 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 configuring limits.

Configuring Limits

  1. Log in to the console and choose Storage > Scalable File Service.
  2. In the navigation pane on the left, choose General Purpose File System to go to its console.
  3. In the file system list, find the desired file system and click its name to go to its details page.
  4. On the Limits Management tab, click Configure in the right pane to open the page shown in Figure 2.

    Figure 1 Limits Management
    Figure 2 Configure Limits

  5. Configure the file system limits.

    Capacity Limit (GB): This is a required field. Enter a value greater than the used capacity, in GB. Value 0 is not allowed.

    Max. Files (Count): This field is optional. Enter a value greater than the number of existing files. Value 0 is not allowed.

  6. Click OK. View the limits details on the limits management page.

    Figure 3 Limits details

Modifying Limits

  1. On the limits management page, click Configure Limits in the right pane to open the dialog box shown in Figure 4.

    Figure 4 Modifying limits

  2. Modify the limits.

    Capacity Limit (GB): This is a required field. Enter a new value greater than the used capacity, in GB. Value 0 is not allowed.

    Max. Files (Count): This field is optional. Enter a new value greater than the number of existing files. Value 0 is not allowed.

  3. Click OK. View the limits details on the limits management page.

Removing Limits

  1. On the limits management page, click Delete in the right pane to open the dialog box shown in Figure 5.

    Figure 5 Removing limits

  2. Click OK.