Help Center/ Scalable File Service/ User Guide/ File System Resizing
Updated on 2024-11-29 GMT+08:00

File System Resizing

Scenarios

You can expand or shrink the capacity of a file system when needed.

Notes and Constraints

SFS Capacity-Oriented file systems support resizing, during which services are not affected. Only In-use file systems can be expanded.

SFS Turbo file systems support online capacity expansion, during which mounting a file system may fail and the connection being used for mounting will experience about a 30-second (max. 3 minutes) I/O delay. So you are advised to expand capacity during off-peak hours. Note that only In-use file systems can be expanded.

The capacity of an SFS Turbo file system cannot be decreased. You can purchase a new file system with a smaller capacity and migrate your data to the new file system.

General purpose file systems have no capacity limit and do not support resizing.

Precautions

The rules for resizing an SFS Capacity-Oriented file system are as follows:

  • Expanding a file system

    Total capacity of a file system after expansion ≤ (Capacity quota of the cloud account - Total capacity of all the other file systems owned by the cloud account)

    For example, a cloud account has a quota of 500 TB. This account has already created three file systems: SFS1 (350 TB), SFS2 (50 TB), and SFS3 (70 TB). If this account needs to expand SFS2, the new capacity of SFS2 cannot be greater than 80 TB. Otherwise, the system will display a message indicating an insufficient quota and the expansion operation will fail.

  • Shrinking a file system
    • When a shrink error or failure occurs on a file system, it takes approximately five minutes for the file system to restore to the available state.
    • After a shrink operation fails, you can only reattempt to shrink the file system storage capacity but cannot expand it directly.
    • Total capacity of a file system after shrinking ≥ Used capacity of the file system

      For example, a cloud account has created a file system, SFS1. The total capacity and used capacity of SFS1 are 50 TB and 10 TB respectively. When shrinking SFS1, the user cannot set a new capacity smaller than 10 TB.

Expanding Capacity of a Yearly/Monthly SFS Turbo File System

  1. Log in to the management console and choose Storage > Scalable File Service.
  2. In the file system list, locate the SFS Turbo file system you want to expand capacity and click Expand Capacity in the Operation column to go to the Expand Capacity page.

    Figure 1 Expanding capacity of a yearly/monthly SFS Turbo file system
    Table 1 Capacity expansion parameters

    Parameter

    Description

    Current Capacity

    Current storage capacity of the file system

    New Capacity

    New storage capacity of the file system

    Constraints:
    • For a Standard, Standard-Enhanced, Performance, or Performance-Enhanced file system, the minimum expansion increment is 100 GB. A Standard or Performance file system can be expanded to up to 32 TB, and a Standard-Enhanced or Performance-Enhanced file system can be expanded to up to 320 TB.
    • For a 20 MB/s/TiB, 40 MB/s/TiB, 125 MB/s/TiB, 250 MB/s/TiB, 500 MB/s/TiB, or 1,000 MB/s/TiB file system, the expansion increment is 1.2 TB, and a file system can be expanded to up to 1 PB.

  3. Enter the new capacity based on service requirements and then click Next.
  4. Confirm the resource information and click Submit.
  5. Complete the payment as instructed and return to the file system list. Click the name of the expanded file system and check that the capacity has been expanded.

Expanding Capacity of a Pay-per-Use SFS Turbo File System

  1. Log in to the management console and choose Storage > Scalable File Service.
  2. In the file system list, locate the SFS Turbo file system you want to expand capacity and click Expand Capacity in the Operation column to go to the Expand Capacity page.

    Figure 2 Expanding capacity of a pay-per-use SFS Turbo file system

  3. Enter the new capacity based on service requirements. For detailed parameter descriptions, see Table 1.
  4. Click OK. In the file system list, check that the file system capacity has been expanded.