이 명령은 시스템에서 모든 스토리지 풀의 등록 정보를 나열합니다. 성공한 명령에 대해 HTTP 상태 200(OK)이 반환됩니다. HTTP 본문은 각 풀을 설명하는 JSON 객체 목록을 포함합니다. 등록 정보 이름은 다음 표에 나와 있습니다.
|
요청 예:
GET /api/storage/v1/pools HTTP/1.1 Host: zfs-storage.example.com:215 Accept: application/json
결과 예:
HTTP/1.1 200 OK Content-Type: application/json { "pools": [{ "profile": "mirror3", "name": "m1", "peer": "peer-hostname", "state": "online", "owner": "system-hostname", "asn": "appliance-serial-number", "scrub_schedule": "30 days" }, { "profile": "raidz1", "name": "r1", "peer": "peer-hostname", "state": "online", "owner": "system-hostname", "asn": "appliance-serial-number", "scrub_schedule": "30 days" }] }