Creates a tiered storage pool using a set of system drives grouped by tiers. A label is assigned to the storage pool during the creation process. The operation returns a URI that can be accessed to obtain detailed information about the storage pool immediately after the URI is returned.
HTTP request syntax (URI)
POST <base_URI>/v7/storage/storage-pools
Parameters
Name | Type | Required | Values | Description |
---|---|---|---|---|
label | BODY | Y | string | Label for the storage pool to be created. |
chunkSize | BODY | Y | number | Chunk size in bytes. |
systemDrives | BODY | Y | object | Object that contains the array of tier 0 and 1 system drives. |
tier0SystemDrives | BODY | Y | array | Tier 0 system drives to be used to create the storage pool. The number of system drives must be at least 4 but cannot exceed 32. |
tier1SystemDrives | BODY | Y | array | Tier 1 system drives to be used to create the storage pool. The number of system drives must be at least 4 but cannot exceed 32. |
Return codes
Code | Data | Description |
---|---|---|
201 | storagePool | Storage pool object successfully created. |
400 | No Data | Missing or invalid request contents. |
500 | Error message | Error associated with the storage system. |
501 | No Data | Server has not implemented the request operation on the resource. |
Any HTTP status code other than 201 indicates that the API did not complete successfully.
Request example
curl -vk -H "X-Api-Key: zrxvSDAv9x.RIP4gkmKarG3beF.or.4Tc2im7oeqYN88C9XPGHxbXC" https://172.17.11.11:8444/v7/storage/storage-pools -d ‘{"label": "sp-test", "chunkSize": 19327352832, "systemDrives": {"tier0SystemDrives": [10, 11,12, 13], "tier1SystemDrives": [31, 32, 33, 34]}}’ -X POST
Response example
HTTP/1.1 201 Created { "storagePool" : { "chunkSize" : 19327352832, "freeCapacity" : 42932895744, "isAssignedToLocalCluster" : true, "isFilesystemExpansionAllowed" : true, "isHealthy" : true, "isTiered" : true, "label" : "sp-test", "objectId" : "3530353739333031303130363332303038383a3a3a", "storagePoolId" : 505793010106320088, "totalCapacity" : 42932895744, "usedCapacity" : 0 }, "uri" : "https://172.17.11.11:8444/v7/storage/storage-pools/3530353739333031303130363332303038383a3a3a" }