Expand a storage pool
Expands an existing storage pool.
Request
Security
| Any | Super User | System Admin | Security Admin | Operator |
|---|---|---|---|---|
| superUser | systemAdmin |
HTTP method
POST /manager/api/{apiResponseType}/1.0/expandStoragePool.adm HTTP/1.1
Host:{manager.dsnet}
id={spId}&width={idaWidth}
&deviceIds={node1}
&deviceIds={node2}
&deviceIds={node3}
&deviceIds={node4}
&deviceIds={node5}Curl method
curl -X POST
-u admin:password
-k ”https://{manager.dsnet}/manager/api/{apiResponseType}/1.0/expandStoragePool.adm“
-d ”id={spId}&width={idaWidth}&deviceIds={node1}
&deviceIds={node2}
&deviceIds={node3}
&deviceIds={node4}
&deviceIds={node5}“Parameters
| Parameter | Type | Usage | Default | Description |
|---|---|---|---|---|
| id | long | Required |
ID of the Storage Pool to expand. |
|
| width | integer | Required |
The width of the new Storage Pool. |
|
| partial | Boolean | Optional | false |
Set to true if you are planning to expand a storage pool with some devices temporarily missing from the new storage pool set. When true, the number of device IDs that are passed in (by using the deviceIds parameter) does not need to equal the width of the new storage pool set. |
| storageEngine | String |
The storage engine to use for this storage pool. One of "zone", "packed" or "file". |
||
| deviceIds | List | Required |
Device IDs to expand the Storage Pool by. |
Response
Returns success or failure status.
JSON response example
Default JSON success or failure response that is shown in Default JSON success response and Default JSON failure response.
Parameters
None other than the default response parameters shown in Common response parameters.