이 명령은 풀에 대한 스토리지 사용량 정보와 함께 단일 스토리지 풀에서 등록 정보를 반환합니다. 성공한 명령에 대해 HTTP 상태 200(OK)이 반환됩니다.
요청 예:
GET /api/storage/v1/pools/p1 HTTP/1.1 Host: zfs-storage.example.com:215 Accept: application/json
결과 예:
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" } }