pool.replace ============ Replace a disk on a pool. `label` is the ZFS guid or a device name `disk` is the identifier of a disk If `preserve_settings` is true, then settings (power management, S.M.A.R.T., etc.) of a disk being replaced will be applied to a new disk. .. examples(websocket):: Replace missing ZFS device with disk {serial}FOO. :::javascript { "id": "6841f242-840a-11e6-a437-00e04d680384", "msg": "method", "method": "pool.replace", "params": [1, { "label": "80802394992848654", "disk": "{serial}FOO" }] } .. 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

Disk

Type: string

Force

Type: boolean Default: false

Preserve Settings

Type: boolean Default: true

Preserve Description

Type: boolean Default: true

Result

Type: const
Must be one of:
  • true
Specific value: true


*Required roles:* POOL_WRITE