Expanding the Capacity of a File System
Function
This API is used to expand the capacity of a file system.
Request Parameters
| Parameter | Mandatory | Type | Description |
|---|---|---|---|
| X-Auth-Token | Yes | String | The account token. |
| Content-Type | Yes | String | The MIME type. |
| Parameter | Mandatory | Type | Description |
|---|---|---|---|
| extend | Yes | Extend object | The extend object. |
| Parameter | Mandatory | Type | Description |
|---|---|---|---|
| new_size | Yes | Integer | The new capacity of the file system, in GiB. For a previous-generation Standard or Performance file system, the capacity ranges from 500 to 32768 (in GiB), and the minimum expansion increment is 100 GiB. For a previous-generation Standard-Enhanced or Performance-Enhanced file system, the capacity ranges from 10240 to 327680 (in GiB), and the minimum expansion increment is 100 GiB. For a 20 MB/s/TiB file system, the capacity ranges from 3686 to 1048576 (in GiB) and must be a multiple of 1.2 TiB. The desired capacity must be converted to GiB and rounded down to the nearest integer. For example, use 4915 GiB for a 4.8 TiB file system and 8601 GiB for an 8.4 TiB file system. The minimum expansion increment is 1.2 TiB. For a 40 MB/s/TiB file system, the capacity ranges from 1228 to 1048576 (in GiB) and must be a multiple of 1.2 TiB. The desired capacity must be converted to GiB and rounded down to the nearest integer. For example, use 4915 GiB for a 4.8 TiB file system and 8601 GiB for an 8.4 TiB file system. The minimum expansion increment is 1.2 TiB. The capacity range and minimum expansion increment of 1,000 MB/s/TiB, 500 MB/s/TiB, 250 MB/s/TiB and 125 MB/s/TiB file systems are the same as those of 40 MB/s/TiB file systems. |
| bss_param | No | BssInfoExtend object | The billing parameter of expanding a yearly/monthly file system. |
Response Parameters
Status code: 202
| Parameter | Type | Description |
|---|---|---|
| id | String | The SFS Turbo file system ID. |
| name | String | The SFS Turbo file system name. |
Example Requests
Expanding the capacity of a file system to 1,000 GB
{
"extend" : {
"new_size" : 1000
}
} Example Responses
Status code: 202
Response body for expanding the capacity of a file system
{
"id" : "67d4bd5e-7b2f-4c24-9a0b-c0038940c6f8",
"name" : "sfs-turbo-test"
} Status Codes
| Status Code | Description |
|---|---|
| 202 | Response body for expanding the capacity of a file system |
Error Codes
See Error Codes.
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.