Skip to main content

We've Moved!

Product Documentation has moved to docs.hitachivantara.com
Hitachi Vantara Knowledge

Get the storage pool associated with a file system

Retrieves detailed information about a storage pool used to create a file system.

HTTP request syntax (URI)
GET <base_URI>/v8/storage/filesystems/{filesystemId}/storage-pools
Parameters
Name Type Required Values Description
filesystemId URI_PARAM Y string Either the file system object ID or HNAS file system ID.
Return codes
Code Data Description
200 storagePool Storage pool object retrieved successfully.
400 Error Message Missing or invalid request contents.
404 Error Message Requested resource not found.
500 Error message Error associated with the storage system.

Any HTTP status code other than 200 indicates that the API did not complete successfully.

Request example: Using the file system object ID
curl -vk -H "X-Api-Key: zrxvSDAv9x.RIP4gkmKarG3beF.or.4Tc2im7oeqYN88C9XPGHxbXC" https://172.17.11.11:8444/v8/storage/filesystems/3836363236374331323541433731414230303030303030303030303030303030/storage-pools
Response example: Using the file system object ID
HTTP/1.1 200 OK
{
  "storagePool": {
    "chunkSize": 1073741824,
    "freeCapacity": 337205264384,
    "isAssignedToLocalCluster": true,
    "isFilesystemExpansionAllowed": true,
    "isHealthy": true,
    "isTiered": false,
    "label": "m2-hm800-pool",
    "objectId": "353835303036373937333238383730353132323a3a3a3a3a3a303a3a3a4f49445f24232140255f56",
    "storagePoolId": 5850067973288705000,
    "tierInformation": [],
    "totalCapacity": 1288473411584,
    "usedCapacity": 951268147200
  }
}
Request example: Using the HNAS storage file system ID
curl -vk -H "X-Api-Key: zrxvSDAv9x.RIP4gkmKarG3beF.or.4Tc2im7oeqYN88C9XPGHxbXC" https://172.17.11.11:8444/v8/storage/filesystems/866267C125AC71AB0000000000000000/storage-pools
Response example: Using the HNAS storage file system ID
HTTP/1.1 200 OK
{
  "storagePool": {
    "chunkSize": 1073741824,
    "freeCapacity": 337205264384,
    "isAssignedToLocalCluster": true,
    "isFilesystemExpansionAllowed": true,
    "isHealthy": true,
    "isTiered": false,
    "label": "m2-hm800-pool",
    "objectId": "353835303036373937333238383730353132323a3a3a3a3a3a303a3a3a4f49445f24232140255f56",
    "storagePoolId": 5850067973288705000,
    "tierInformation": [],
    "totalCapacity": 1288473411584,
    "usedCapacity": 951268147200
  }
}

 

  • Was this article helpful?