pool.export =========== Export pool of ``id``. Export pool of id 1:: { "jsonrpc": "2.0", "id": 1, "method": "pool.export", "params": [1, { "cascade": true, "destroy": false }] } If this is an HA system and failover is enabled and the last zpool is exported/disconnected, then this will raise EOPNOTSUPP. Failover must be disabled before exporting the last zpool on the system. This method is a job. .. raw:: html
Type: object

Type: array
No Additional Items

Tuple Validation

Parameter 1: id

id

Type: integer

ID of the pool to export.

Parameter 2: options

options

Type: object

Options for controlling the pool export process.

No Additional Properties

Cascade

Type: boolean Default: false

Delete all attachments of the given pool (pool.attachments).

Restart Services

Type: boolean Default: false

Restart services that have open files on given pool.

Destroy

Type: boolean Default: false

PERMANENTLY destroy the pool/data.

Result

Type: null

Returns null on successful pool export.



*Required roles:* POOL_WRITE