Получение свойств конкретного пула.
Запрос:
{ "jsonrpc": "2.0", "method": "pools-get", "id": "f8837f80-ba23-4bdb-94b8-609dc50eeab6", "params": { "nodeId": 0, "name": "z00" } }
Ответ:
{ "id": "f8837f80-ba23-4bdb-94b8-609dc50eeab6", "jsonrpc": "2.0", "method": "pools-get", "result": { "code": 1, "data": { "allocated": 591290449920, "altroot": "-", "ashift": 0, "autoexpand": "off", "autoreplace": "off", "autotrim": "off", "bootfs": "-", "cachefile": "none", "capacity": 24, "checkpoint": "-", "comment": "-", "compatibility": "off", "consuming": 1, "dedupditto": 0, "dedupratio": 1.23, "delegation": "on", "expandsize": 0, "failmode": "panic", "fragmentation": 10, "free": 1796711366656, "freeing": 0, "guid": 16231361151942834000, "health": "ONLINE", "leaked": 0, "listsnapshots": "off", "load_guid": 10494015148618138000, "maxblocksize": 1048576, "maxdnodesize": 16384, "multihost": "off", "name": "z02", "readonly": "off", "size": 2388001816576, "tname": "-", "version": 5000 } } }