Go to main content

Oracle® ZFS Storage Appliance RESTful API 설명서, 릴리스 OS8.8.0

인쇄 보기 종료

업데이트 날짜: 2018년 11월
 
 

풀 나열

이 명령은 시스템에서 모든 스토리지 풀의 등록 정보를 나열합니다. 성공한 명령에 대해 HTTP 상태 200(OK)이 반환됩니다. HTTP 본문은 각 풀을 설명하는 JSON 객체 목록을 포함합니다. 등록 정보 이름은 다음 표에 나와 있습니다.


주 -  depth 질의 매개변수와 match_property-name=value 질의 매개변수는 지원되지 않습니다.
표 58  스토리지 풀 등록 정보
등록 정보
유형
설명
pool
string
대상 풀 이름
profile
string
데이터 장치 프로파일
state
string
풀 상태(online, offline, exported)
asn
string
풀을 소유하는 어플라이언스의 일련 번호
peer
string
클러스터화된 시스템의 경우 피어 노드의 ASN
owner
string
풀을 소유하는 시스템의 호스트 이름

요청 예:

GET /api/storage/v1/pools HTTP/1.1
Host: zfs-storage.example.com
Accept: application/json

응답 예:

HTTP/1.1 200 OK
Content-Type: application/json

{
    "pools": [{
        "profile": "mirror3",
            "name": "m1",
            "peer": "00000000-0000-0000-0000-000000000000",
        "state": "online",
        "owner": "zfs-storage",
        "asn": "2f4aeeb3-b670-ee53-e0a7-d8e0ae410749"
    }, {
        "profile": "raidz1",
        "name": "r1",
        "peer": "00000000-0000-0000-0000-000000000000",
        "state": "online",
        "owner": "zfs-storage",
        "asn": "2f4aeeb3-b670-ee53-e0a7-d8e0ae410749"
    }]
}