pool.export

Export pool of id.

cascade will delete all attachments of the given pool (pool.attachments). restart_services will restart services that have open files on given pool. destroy will also PERMANENTLY destroy the pool/data.

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.

Type: object

Type: array
No Additional Items

Tuple Validation

Parameter 1: id

id

Type: integer
Parameter 2: options

options

Type: object
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


Required roles: POOL_WRITE