pool.remove =========== Remove a disk from pool of id `id`. `label` is the vdev guid or device name. Error codes: EZFS_NOSPC(2032): out of space to remove a device EZFS_NODEVICE(2017): no such device in pool EZFS_NOREPLICAS(2019): no valid replicas .. examples(websocket):: Remove ZFS device. :::javascript { "id": "6841f242-840a-11e6-a437-00e04d680384", "msg": "method", "method": "pool.remove, "params": [1, { "label": "80802394992848654" }] } .. raw:: html
Type: object

Type: array
No Additional Items

Tuple Validation

Parameter 1: id

id

Type: integer
Parameter 2: options

options

Type: object
No Additional Properties

Label

Type: string

The vdev guid or device name.

Result

Type: null


*Required roles:* POOL_WRITE