File System Resizing
Scenarios
You can expand or shrink the capacity of a file system when needed.
Limitations and Constraints
SFS Capacity-Oriented file systems support resizing if the auto capacity expansion function is disabled. You can only enable the auto capacity expansion function when creating a file system. After the auto capacity expansion function is enabled, you cannot reset the maximum capacity. In addition, after the auto capacity expansion function is enabled, you cannot disable it.
SFS Capacity-Oriented file systems support online resizing, which does not affect services.
SFS Turbo file systems support online capacity expansion. During capacity expansion, I/Os are suspended for 10 to 15 seconds. You are advised to expand the capacity during off-peak hours. The online capacity expansion button may not be available for some instances of earlier versions. If capacity expansion is required, click here to submit a service ticket.
Rules for Resizing
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, 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 user cannot set the new capacity to be smaller than 10 TB.
Procedure
- Log in to SFS Console.
- In the file system list, click Resize or Expand Capacity in the row of the desired file system. The following dialog box is displayed. See Figure 1.
- Enter a new maximum capacity of the file system based on service requirements, and click OK. Table 1 describes the parameters.
Table 1 Parameter description Parameter
Description
Used Capacity (GB)
Used capacity of the current file system
Maximum Capacity (GB)
Maximum capacity of the current file system
New Maximum Capacity (GB)
Target maximum capacity of the file system after expanding or shrinking. The value ranges from 1 GB to 512,000 GB.
NOTE:The new maximum capacity cannot be smaller than the used capacity.
- In the dialog box that is displayed, confirm the information and click OK.
- In the file system list, check the capacity information after resizing.
Capacity Expansion on Yearly/Monthly SFS Turbo Subscription
- Log in to the management console and select Storage > Scalable File Service.
- In the file system list, click Expand on the row of the SFS Turbo file system to be expanded. The Expand Capacity page is displayed. See Figure 2.
- Select the capacity after expansion based on service requirements and then click Next.
- Confirm the resource information and click Submit.
- After the payment is successful, you can return to the file system list and click the file system name to check the total capacity after expansion.
Last Article: Configuring DNS
Next Article: Quotas


Did this article solve your problem?
Thank you for your score!Your feedback would help us improve the website.