• Scalable File Service

sfs
  1. Help Center
  2. Scalable File Service
  3. User Guide
  4. Management
  5. Resizing a File System

Resizing a File System

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

Capacity Adjustment Precautions

  • 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, cloud account A 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, cloud account B 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 new capacity cannot be smaller than 10 TB.

Procedure

  1. Log in to the management console and select Scalable File Service.
  2. In the file system list, click Resize in the row of the file system you want to resize. The Resize File System dialog box is displayed. See Figure 1.

    Figure 1 Resize File System

  3. Enter a new capacity and click OK. Table 1 describes the parameters.

    Table 1 Parameter description

    Parameter

    Description

    Current Capacity (GB)

    Current storage capacity of the file system.

    New Capacity (GB)

    Target storage capacity of expanding or shrinking the file system.

    Value range:
    • The new capacity cannot be equal to the current capacity.
    • The value is an integer that ranges from 1 to 512,000.

  4. In the dialog box that is displayed, confirm the information and click OK.
  5. In the file system list, check the capacity information after resizing.