zfs.resource.recordsize_choices

Retrieve the record sizes a filesystem may be given.

The upper bound is the running kernel’s zfs_max_recordsize. Naming a pool narrows the lower bound too, since a dRAID pool needs a minimum of 128K to avoid wasting space on padding.

Type: object

Type: array
No Additional Items

Tuple Validation

Parameter 1: pool_name

pool_name

Default: null

Optional pool name to get record size choices for. If not provided, returns general choices.

Type: string
Type: null

Result

Type: array of string

Array of available record size options for filesystem datasets.

No Additional Items
Each item of this array must be:
Type: string


Required roles: READONLY_ADMIN | ZFS_RESOURCE_READ