pool.scrub.run

Initiate a scrub of pool name if the most recent scrub finished more than threshold days ago. Does nothing if the scrub is not yet due or if this node is not the active controller on an HA system.

Deprecated since version 26.0.0: Use zpool.scrub.run instead.

Type: object

Type: array
No Additional Items

Tuple Validation

Parameter 1: name

name

Type: string

Name of the pool to run scrub on.

Parameter 2: threshold

threshold

Type: integer Default: 35

Days before a scrub is due when the scrub should start.

Result

Type: null

Returns null on successful scrub start.



Required roles: POOL_WRITE