pool.upgrade

Upgrade pool of id to latest version with all feature flags.

Queries the database for the pool matching the given id, then enables all supported ZFS feature flags on the pool. This is a one-way operation and cannot be reversed. Once upgraded, the pool will not be importable on systems running older ZFS versions that do not support the newly enabled features.

Raises a ValidationError if no pool matches the given id or if the pool is not currently imported.

Type: object

Type: array
No Additional Items

Tuple Validation

Parameter 1: id

id

Type: integer

ID of the pool to upgrade to the latest feature flags.

Result

Type: const

Indicates successful pool upgrade.

Specific value: true


Required roles: POOL_WRITE