This command returns the properties from a single storage pool along with storage usage information for the pool. HTTP status 200 (OK) is returned for a successful command.
Example Request:
GET /api/storage/v1/pools/p1 HTTP/1.1 Host: zfs-storage.example.com Accept: application/json
Example Response:
HTTP/1.1 200 OK
Content-Type: application/json
{
"pool": {
"profile": "raidz1",
"name": "p1",
"usage": {
"available": 57454799311352.0,
"compression": 1.0,
"dedupratio": 672791,
"free": 57454799311352.0,
"total": 74732430950400.0,
"usage_child_reservation": 0.0,
"usage_data": 16011663438848.0,
"usage_metasize": 0.0,
"usage_metaused": 0.0,
"usage_replication": 1693675705344.0,
"usage_reservation": 0.0,
"usage_snapshots": 123913627136.0,
"usage_total": 17829252771328.0,
"used": 17829252771328.0
},
"peer": "00000000-0000-0000-0000-000000000000",
"state": "online",
"owner": "admin1",
"asn": "2f4aeeb3-b670-ee53-e0a7-d8e0ae410749"
}
}