The capacity that you configure when you create a CPFS for Lingjun file system is its initial capacity. If the file system becomes full, you cannot write new data. To prevent write failures from impacting your services, you can scale out the file system before it is full. This topic describes how to scale out a CPFS for Lingjun file system.
Prerequisites
You have created a file system. For more information, see Create a file system.
Precautions
The CPFS for Lingjun file system must be in the Running state. Scale-out is not supported for file systems in other states.
CPFS for Lingjun file systems support only scale-out, not scale-in. The scaling step size is 10,240 GiB. You can scale out the capacity to 1 PiB. You can create a file system with a maximum capacity of 20 PiB. To create a file system of this size, you can submit a ticket.
When file system usage is high, performance may degrade due to a high degree of file fragmentation. We recommend that you scale out the file system before its usage reaches 90%.
For optimal file system performance, rebalance the data after scaling out CPFS for Lingjun. The rebalancing process consumes disk and network bandwidth, which may cause a temporary decrease in performance. To use this feature, submit a ticket.
The time required for rebalancing depends on the amount of historical data. If you have a large volume of historical data, the process may take longer.
In extreme cases of data imbalance, the total capacity and usage displayed by the df command and in the console may temporarily decrease. This does not affect data security or access performance.
If you do not rebalance the data, latency may increase as more data is written.
Scale out a CPFS for Lingjun file system
Log on to the NAS console.
In the left-side navigation pane, choose File System > File System List.
In the top navigation bar, select a region.
Find the target CPFS for Lingjun file system. In the Actions column, click the
icon and choose Upgrade.NoteThe file system supports only scale-out, not scale-in. The scaling step size is 10,240 GiB. You can scale out the capacity to 1 PiB. You can create a file system with a maximum capacity of 20 PiB. To create a file system of this size, you can submit a ticket.
In the Capacity of CPFS File System section of the CPFS (Pay-as-you-go) | Upgrade/Downgrade page, adjust the capacity.
NoteFor stable performance after a scale-out, increase the total capacity by at least 10%.
Click Buy Now, complete the purchase as prompted.
References
To view the capacity usage of your file system, see View CPFS capacity monitoring.
To receive timely alerts about file system capacity and performance, you can configure alerts for monitoring metrics. For more information, see Configure basic alert rules and Configure advanced alert rules.