Expand a storage pool

Expands an existing storage pool.

Request

Security

Table 1. Roles capable of executing the Expand Storage Pool (expandStoragePool) API method
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

Table 2. Request Parameters for Expand Storage Pool (expandStoragePool) API method
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.