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>/v7/storage/filesystems/{id}/storage-pools
Parameters
Name Type Required Values Description
id URI_PARAM Y string Specifies either the file system object ID or the HNAS storage file system ID.
Return codes
Code Data Description
200 storagePool Storage pool object retrieved successfully.
400 No Data Missing or invalid request contents.
404 Error Message Requested resource not found.
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 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/v7/storage/filesystems/3836363236374331323541433731414230303030303030303030303030303030/storage-pools
Response example: Using the file system object ID
HTTP/1.1 200 OK
   {
    "storagePool" :
        {
                "chunkSize" : 19327352832,
                "freeCapacity" : 175728754688,
                "isAssignedToLocalCluster" : true,
                "isFilesystemExpansionAllowed" : true,
                "isHealthy" : true,
                "isTiered" : false,
                "label" : "historDevStoragePool",
                "objectId" : "393637363838303332343736313532343836333a3a3a3a3a3a303a3a3a4f49445f24232140255f56",
                "storagePoolId" : 9676880324761524863,
                "totalCapacity" : 429492535296,
                "usedCapacity" : 253763780608
        }
     }
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/v7/storage/filesystems/866267C125AC71AB0000000000000000/storage-pools
Response example: Using the HNAS storage file system ID
HTTP/1.1 200 OK
   {
    "storagePool" :
        {
                "chunkSize" : 19327352832,
                "freeCapacity" : 175728754688,
                "isAssignedToLocalCluster" : true,
                "isFilesystemExpansionAllowed" : true,
                "isHealthy" : true,
                "isTiered" : false,
                "label" : "historDevStoragePool",
                "objectId" : "393637363838303332343736313532343836333a3a3a3a3a3a303a3a3a4f49445f24232140255f56",
                "storagePoolId" : 9676880324761524863,
                "totalCapacity" : 429492535296,
                "usedCapacity" : 253763780608
        }
    }

 

  • Was this article helpful?