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. .. examples(websocket):: Export pool of id 1. :::javascript { "id": "6841f242-840a-11e6-a437-00e04d680384", "msg": "method", "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. .. raw:: html
Delete all attachments of the given pool (pool.attachments
).
Restart services that have open files on given pool.
PERMANENTLY destroy the pool/data.