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.

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