Expanding a Thin Provisioning Pool
POST /tpp/{tpp_id}/expand
Introduction
Expands the Thin Provisioning Pool.
Expand the physical capacity of the Thin Provisioning Pool by adding RAID Groups that configure the Thin Provisioning Pool.
The RAID Level, number of drives, and drive type of the RAID Group you are adding must be the same as the existing RAID Group in the Thin Provisioning Pool you are expanding.
You cannot expand the Thin Provisioning Pool in any of the following conditions.
The sum of the physical capacities of Thin Provisioning Pools and Flexible Tier Pools exceeds the Maximum Pool Capacity.
The device does not have enough resources (RAID Groups, Volumes, etc.) to create a Thin Provisioning Pool.
Thin Provisioning Pool has more than 48 PB of physical capacity.
Tenant users cannot execute this command.
Request Examples
The following shows an example when expanding a Thin Provisioning Pool of Thin Provisioning Pool ID 5.
$ curl -i -H "Content-Type:application/json" -H "Authorization: Bearer g17e4umvwYoHuhkG7yCSee.." -X POST "https://192.168.1.1:5665/api/v1/tpp/5/expand" -d '{"add_raidgroup_list": [{"drive_id_list": ["0005","0106","0207","0308","0409"]},{"drive_id_list": ["0000","0101","0202","0303","0404"]}]}'This is an example of extending the Thin Provisioning Pool using the Drive Auto-Selection feature.
$ curl -i -H "Content-Type:application/json" -H "Authorization: Bearer g17e4umvwYoHuhkG7yCSee.." -X POST "https://192.168.1.1:5665/api/v1/tpp/5/expand" -d '{"is_auto_drive_selection": true,"minimum_capacity_after_expansion" : 614400}'
Response Examples
{
"job_id": 8192001,
"job_href": "/api/v1/job/8192001"
}
Parameters
PATH PARAMETERS
| tpp_id
(required) |
integer Thin Provisioning Pool ID. |
REQUEST BODY
| is_auto_drive_selection | boolean Default: false Whether the system automatically determines which drives comprise the Thin Provisioning Pool. If true, automatically selects the drives to be added to the Thin Provisioning Pool. Input criteria:
Caution
For automatic drive selection, a TPP is created without distinguishing between AF compatible and non-AF compatible drives. If both drives are used, select Drives manually. |
||||||||||||||||
| add_raidgroup_list | Array of objects Input criteria:
|
||||||||||||||||
| minimum_capacity_after_expansion | integer Minimum capacity of Thin Provisioning Pool after expansion. The unit is MB. When selecting Drive automatically, determine the Drive configuration that meets the minimum amount of space set in this item. Required if is_auto_drive_selection is true. Input criteria:
|
Responses
If successful, the HTTP status code is 202 (Accepted) and the response body is returned.
RESPONSE BODY
| job_id | integer Job ID. |
| job_href | string Resource link of the job. |

