pool.dataset.query¶
Query Pool Datasets with query-filters and query-options.
We provide two ways to retrieve datasets. The first is a flat structure (default), where all datasets in the system are returned as separate objects which contain all data there is for their children. This retrieval type is slightly slower because of duplicates in each object. The second type is hierarchical, where only top level datasets are returned in the list. They contain all the children in the children key. This retrieval type is slightly faster. These options are controlled by the query-options.extra.flat attribute (default true).
In some cases it might be desirable to only retrieve details of a dataset itself and not it’s children, in this case query-options.extra.retrieve_children should be explicitly specified and set to false which will result in children not being retrieved.
In case only some properties are desired to be retrieved for datasets, consumer should specify query-options.extra.properties which when null ( which is the default ) will retrieve all properties and otherwise a list can be specified like [“type”, “used”, “available”] to retrieve selective properties. If no properties are desired, in that case an empty list should be sent. It should be noted that specifying empty list will still retrieve user properties. If user properties are not desired, in that case query-options.extra.retrieve_user_props should be set to false.
query-options.extra.snapshots can be set to retrieve snapshot(s) of dataset in question.
query-options.extra.snapshots_recursive can be set to retrieve snapshot(s) recursively of dataset in question. If query-options.extra.snapshots_recursive and query-options.extra.snapshots are set, snapshot(s) will be retrieved recursively.
query-options.extra.snapshots_properties can be specified to list out properties which should be retrieved for snapshot(s) related to each dataset. By default only name of the snapshot would be retrieved, however if null is specified all properties of the snapshot would be retrieved in this case.
No Additional Items
Tuple Validation
Parameter 1: filters
filters
Type: array Default: []List of filters for query results. See API documentation for "Query Methods" for more guidance.
No Additional ItemsEach item of this array must be:
[
[
"name",
"=",
"bob"
]
]
[
[
"OR",
[
[
[
"name",
"=",
"bob"
]
],
[
[
"name",
"=",
"larry"
]
]
]
]
]
Parameter 2: options
options
Type: objectQuery options including pagination, ordering, and additional parameters.
No Additional PropertiesExtra
Type: object Default: {}Extra options are defined on a per-endpoint basis and are described in the documentation for the associated query method.
Order By
Type: array of string Default: []An array of field names describing the manner in which query results should be ordered. The field names may also have one of more of the following special prefixes: -
(reverse sort direction), nulls_first:
(place any null values at the head of the results list), nulls_last:
(place any null values at the tail of the results list).
Each item of this array must be:
[
"size",
"-devname",
"nulls_first:-expiretime"
]
Select
Type: array Default: []An array of field names specifying the exact fields to include in the query return. The dot character .
may be used to explicitly select only subkeys of the query result.
Each item of this array must be:
No Additional Items
Each item of this array must be:
[
"username",
"Authentication.status"
]
Count
Type: boolean Default: falseReturn a numeric value representing the number of items that match the specified query-filters
.
Get
Type: boolean Default: falseReturn the JSON object of the first result matching the specified query-filters
. The query fails if there specified query-filters
return no results.
Offset
Type: integer Default: 0This specifies the beginning offset of the results array. When combined with the limit
query-option it may be used to implement pagination of large results arrays. WARNING: some query methods provide volatile results and the onus is on the developer to understand whether pagination is appropriate for a particular query API method.
Limit
Type: integer Default: 0This specifies the maximum number of results matching the specified query-filters
to return. When combined wtih the offset
query-option it may be used to implement pagination of large results arrays.
WARNING: Some query methods provide volatile results and the onus is on the developer to understand whether pagination is appropriate for a particular query API method.
Force Sql Filters
Type: boolean Default: falseForce use of SQL for result filtering to reduce response time. May not work for all methods.
Result
No Additional Items
Each item of this array must be:
PoolDatasetQueryResultItem
Type: objectId
Type: stringThe full dataset path including pool name.
"tank/dataset/child"
Type
Type: stringThe dataset type.
"FILESYSTEM"
"VOLUME"
Name
Type: stringThe dataset name without the pool prefix.
Pool
Type: stringThe name of the ZFS pool containing this dataset.
Encrypted
Type: booleanWhether the dataset is encrypted.
Encryption Root
The root dataset where encryption is enabled. null
if the dataset is not encrypted.
Key Loaded
Whether the encryption key is currently loaded for encrypted datasets. null
for unencrypted datasets.
Children
Type: arrayArray of child dataset objects nested under this dataset.
No Additional ItemsEach item of this array must be:
User Properties
Type: objectCustom user-defined ZFS properties set on this dataset as key-value pairs.
Locked
Type: booleanWhether an encrypted dataset is currently locked (key not loaded).
PoolDatasetEntryProperty
Type: objectZFS comments property for storing descriptive text about the dataset.
No Additional PropertiesParsed
Type: objectThe ZFS property value parsed into the appropriate type (string, boolean, integer, etc.).
Rawvalue
The raw string value of the ZFS property as stored in the pool. Can be null if not set.
Value
The current effective value of the ZFS property as a string. Can be null if inherited or not set.
Source
Indicates where the property value originates from.
"LOCAL"
"INHERITED"
"DEFAULT"
Source Info
Type: objectAdditional metadata about the property source, such as the parent dataset for inherited values.
PoolDatasetEntryProperty
Type: objectZFS quota warning threshold property as a percentage.
No Additional PropertiesParsed
Type: objectThe ZFS property value parsed into the appropriate type (string, boolean, integer, etc.).
Rawvalue
The raw string value of the ZFS property as stored in the pool. Can be null if not set.
Value
The current effective value of the ZFS property as a string. Can be null if inherited or not set.
Source
Indicates where the property value originates from.
"LOCAL"
"INHERITED"
"DEFAULT"
Source Info
Type: objectAdditional metadata about the property source, such as the parent dataset for inherited values.
PoolDatasetEntryProperty
Type: objectZFS quota critical threshold property as a percentage.
No Additional PropertiesParsed
Type: objectThe ZFS property value parsed into the appropriate type (string, boolean, integer, etc.).
Rawvalue
The raw string value of the ZFS property as stored in the pool. Can be null if not set.
Value
The current effective value of the ZFS property as a string. Can be null if inherited or not set.
Source
Indicates where the property value originates from.
"LOCAL"
"INHERITED"
"DEFAULT"
Source Info
Type: objectAdditional metadata about the property source, such as the parent dataset for inherited values.
PoolDatasetEntryProperty
Type: objectZFS reference quota warning threshold property as a percentage.
No Additional PropertiesParsed
Type: objectThe ZFS property value parsed into the appropriate type (string, boolean, integer, etc.).
Rawvalue
The raw string value of the ZFS property as stored in the pool. Can be null if not set.
Value
The current effective value of the ZFS property as a string. Can be null if inherited or not set.
Source
Indicates where the property value originates from.
"LOCAL"
"INHERITED"
"DEFAULT"
Source Info
Type: objectAdditional metadata about the property source, such as the parent dataset for inherited values.
PoolDatasetEntryProperty
Type: objectZFS reference quota critical threshold property as a percentage.
No Additional PropertiesParsed
Type: objectThe ZFS property value parsed into the appropriate type (string, boolean, integer, etc.).
Rawvalue
The raw string value of the ZFS property as stored in the pool. Can be null if not set.
Value
The current effective value of the ZFS property as a string. Can be null if inherited or not set.
Source
Indicates where the property value originates from.
"LOCAL"
"INHERITED"
"DEFAULT"
Source Info
Type: objectAdditional metadata about the property source, such as the parent dataset for inherited values.
PoolDatasetEntryProperty
Type: objectIdentifies which service or system manages this dataset.
No Additional PropertiesParsed
Type: objectThe ZFS property value parsed into the appropriate type (string, boolean, integer, etc.).
Rawvalue
The raw string value of the ZFS property as stored in the pool. Can be null if not set.
Value
The current effective value of the ZFS property as a string. Can be null if inherited or not set.
Source
Indicates where the property value originates from.
"LOCAL"
"INHERITED"
"DEFAULT"
Source Info
Type: objectAdditional metadata about the property source, such as the parent dataset for inherited values.
PoolDatasetEntryProperty
Type: objectZFS deduplication setting - whether identical data blocks are stored only once.
No Additional PropertiesParsed
Type: objectThe ZFS property value parsed into the appropriate type (string, boolean, integer, etc.).
Rawvalue
The raw string value of the ZFS property as stored in the pool. Can be null if not set.
Value
The current effective value of the ZFS property as a string. Can be null if inherited or not set.
Source
Indicates where the property value originates from.
"LOCAL"
"INHERITED"
"DEFAULT"
Source Info
Type: objectAdditional metadata about the property source, such as the parent dataset for inherited values.
PoolDatasetEntryProperty
Type: objectHow Access Control Lists (ACLs) are handled when chmod is used.
No Additional PropertiesParsed
Type: objectThe ZFS property value parsed into the appropriate type (string, boolean, integer, etc.).
Rawvalue
The raw string value of the ZFS property as stored in the pool. Can be null if not set.
Value
The current effective value of the ZFS property as a string. Can be null if inherited or not set.
Source
Indicates where the property value originates from.
"LOCAL"
"INHERITED"
"DEFAULT"
Source Info
Type: objectAdditional metadata about the property source, such as the parent dataset for inherited values.
PoolDatasetEntryProperty
Type: objectThe type of Access Control List system used (NFSV4, POSIX, or OFF).
No Additional PropertiesParsed
Type: objectThe ZFS property value parsed into the appropriate type (string, boolean, integer, etc.).
Rawvalue
The raw string value of the ZFS property as stored in the pool. Can be null if not set.
Value
The current effective value of the ZFS property as a string. Can be null if inherited or not set.
Source
Indicates where the property value originates from.
"LOCAL"
"INHERITED"
"DEFAULT"
Source Info
Type: objectAdditional metadata about the property source, such as the parent dataset for inherited values.
PoolDatasetEntryProperty
Type: objectExtended attributes storage method (on/off).
No Additional PropertiesParsed
Type: objectThe ZFS property value parsed into the appropriate type (string, boolean, integer, etc.).
Rawvalue
The raw string value of the ZFS property as stored in the pool. Can be null if not set.
Value
The current effective value of the ZFS property as a string. Can be null if inherited or not set.
Source
Indicates where the property value originates from.
"LOCAL"
"INHERITED"
"DEFAULT"
Source Info
Type: objectAdditional metadata about the property source, such as the parent dataset for inherited values.
PoolDatasetEntryProperty
Type: objectWhether file access times are updated when files are accessed.
No Additional PropertiesParsed
Type: objectThe ZFS property value parsed into the appropriate type (string, boolean, integer, etc.).
Rawvalue
The raw string value of the ZFS property as stored in the pool. Can be null if not set.
Value
The current effective value of the ZFS property as a string. Can be null if inherited or not set.
Source
Indicates where the property value originates from.
"LOCAL"
"INHERITED"
"DEFAULT"
Source Info
Type: objectAdditional metadata about the property source, such as the parent dataset for inherited values.
PoolDatasetEntryProperty
Type: objectFile name case sensitivity setting (sensitive/insensitive).
No Additional PropertiesParsed
Type: objectThe ZFS property value parsed into the appropriate type (string, boolean, integer, etc.).
Rawvalue
The raw string value of the ZFS property as stored in the pool. Can be null if not set.
Value
The current effective value of the ZFS property as a string. Can be null if inherited or not set.
Source
Indicates where the property value originates from.
"LOCAL"
"INHERITED"
"DEFAULT"
Source Info
Type: objectAdditional metadata about the property source, such as the parent dataset for inherited values.
PoolDatasetEntryProperty
Type: objectData integrity checksum algorithm used for this dataset.
No Additional PropertiesParsed
Type: objectThe ZFS property value parsed into the appropriate type (string, boolean, integer, etc.).
Rawvalue
The raw string value of the ZFS property as stored in the pool. Can be null if not set.
Value
The current effective value of the ZFS property as a string. Can be null if inherited or not set.
Source
Indicates where the property value originates from.
"LOCAL"
"INHERITED"
"DEFAULT"
Source Info
Type: objectAdditional metadata about the property source, such as the parent dataset for inherited values.
PoolDatasetEntryProperty
Type: objectWhether files in this dataset can be executed.
No Additional PropertiesParsed
Type: objectThe ZFS property value parsed into the appropriate type (string, boolean, integer, etc.).
Rawvalue
The raw string value of the ZFS property as stored in the pool. Can be null if not set.
Value
The current effective value of the ZFS property as a string. Can be null if inherited or not set.
Source
Indicates where the property value originates from.
"LOCAL"
"INHERITED"
"DEFAULT"
Source Info
Type: objectAdditional metadata about the property source, such as the parent dataset for inherited values.
PoolDatasetEntryProperty
Type: objectSynchronous write behavior (standard/always/disabled).
No Additional PropertiesParsed
Type: objectThe ZFS property value parsed into the appropriate type (string, boolean, integer, etc.).
Rawvalue
The raw string value of the ZFS property as stored in the pool. Can be null if not set.
Value
The current effective value of the ZFS property as a string. Can be null if inherited or not set.
Source
Indicates where the property value originates from.
"LOCAL"
"INHERITED"
"DEFAULT"
Source Info
Type: objectAdditional metadata about the property source, such as the parent dataset for inherited values.
PoolDatasetEntryProperty
Type: objectCompression algorithm and level applied to data in this dataset.
No Additional PropertiesParsed
Type: objectThe ZFS property value parsed into the appropriate type (string, boolean, integer, etc.).
Rawvalue
The raw string value of the ZFS property as stored in the pool. Can be null if not set.
Value
The current effective value of the ZFS property as a string. Can be null if inherited or not set.
Source
Indicates where the property value originates from.
"LOCAL"
"INHERITED"
"DEFAULT"
Source Info
Type: objectAdditional metadata about the property source, such as the parent dataset for inherited values.
PoolDatasetEntryProperty
Type: objectThe achieved compression ratio as a decimal (e.g., '2.50x').
No Additional PropertiesParsed
Type: objectThe ZFS property value parsed into the appropriate type (string, boolean, integer, etc.).
Rawvalue
The raw string value of the ZFS property as stored in the pool. Can be null if not set.
Value
The current effective value of the ZFS property as a string. Can be null if inherited or not set.
Source
Indicates where the property value originates from.
"LOCAL"
"INHERITED"
"DEFAULT"
Source Info
Type: objectAdditional metadata about the property source, such as the parent dataset for inherited values.
PoolDatasetEntryProperty
Type: objectThe snapshot from which this clone was created. Empty for non-clone datasets.
No Additional PropertiesParsed
Type: objectThe ZFS property value parsed into the appropriate type (string, boolean, integer, etc.).
Rawvalue
The raw string value of the ZFS property as stored in the pool. Can be null if not set.
Value
The current effective value of the ZFS property as a string. Can be null if inherited or not set.
Source
Indicates where the property value originates from.
"LOCAL"
"INHERITED"
"DEFAULT"
Source Info
Type: objectAdditional metadata about the property source, such as the parent dataset for inherited values.
PoolDatasetEntryProperty
Type: objectMaximum amount of disk space this dataset and its children can consume.
No Additional PropertiesParsed
Type: objectThe ZFS property value parsed into the appropriate type (string, boolean, integer, etc.).
Rawvalue
The raw string value of the ZFS property as stored in the pool. Can be null if not set.
Value
The current effective value of the ZFS property as a string. Can be null if inherited or not set.
Source
Indicates where the property value originates from.
"LOCAL"
"INHERITED"
"DEFAULT"
Source Info
Type: objectAdditional metadata about the property source, such as the parent dataset for inherited values.
PoolDatasetEntryProperty
Type: objectMaximum amount of disk space this dataset itself can consume (excluding children).
No Additional PropertiesParsed
Type: objectThe ZFS property value parsed into the appropriate type (string, boolean, integer, etc.).
Rawvalue
The raw string value of the ZFS property as stored in the pool. Can be null if not set.
Value
The current effective value of the ZFS property as a string. Can be null if inherited or not set.
Source
Indicates where the property value originates from.
"LOCAL"
"INHERITED"
"DEFAULT"
Source Info
Type: objectAdditional metadata about the property source, such as the parent dataset for inherited values.
PoolDatasetEntryProperty
Type: objectMinimum amount of disk space guaranteed to be available to this dataset and its children.
No Additional PropertiesParsed
Type: objectThe ZFS property value parsed into the appropriate type (string, boolean, integer, etc.).
Rawvalue
The raw string value of the ZFS property as stored in the pool. Can be null if not set.
Value
The current effective value of the ZFS property as a string. Can be null if inherited or not set.
Source
Indicates where the property value originates from.
"LOCAL"
"INHERITED"
"DEFAULT"
Source Info
Type: objectAdditional metadata about the property source, such as the parent dataset for inherited values.
PoolDatasetEntryProperty
Type: objectMinimum amount of disk space guaranteed to be available to this dataset itself.
No Additional PropertiesParsed
Type: objectThe ZFS property value parsed into the appropriate type (string, boolean, integer, etc.).
Rawvalue
The raw string value of the ZFS property as stored in the pool. Can be null if not set.
Value
The current effective value of the ZFS property as a string. Can be null if inherited or not set.
Source
Indicates where the property value originates from.
"LOCAL"
"INHERITED"
"DEFAULT"
Source Info
Type: objectAdditional metadata about the property source, such as the parent dataset for inherited values.
PoolDatasetEntryProperty
Type: objectNumber of copies of data blocks to maintain for redundancy (1-3).
No Additional PropertiesParsed
Type: objectThe ZFS property value parsed into the appropriate type (string, boolean, integer, etc.).
Rawvalue
The raw string value of the ZFS property as stored in the pool. Can be null if not set.
Value
The current effective value of the ZFS property as a string. Can be null if inherited or not set.
Source
Indicates where the property value originates from.
"LOCAL"
"INHERITED"
"DEFAULT"
Source Info
Type: objectAdditional metadata about the property source, such as the parent dataset for inherited values.
PoolDatasetEntryProperty
Type: objectVisibility of the .zfs/snapshot directory (visible/hidden).
No Additional PropertiesParsed
Type: objectThe ZFS property value parsed into the appropriate type (string, boolean, integer, etc.).
Rawvalue
The raw string value of the ZFS property as stored in the pool. Can be null if not set.
Value
The current effective value of the ZFS property as a string. Can be null if inherited or not set.
Source
Indicates where the property value originates from.
"LOCAL"
"INHERITED"
"DEFAULT"
Source Info
Type: objectAdditional metadata about the property source, such as the parent dataset for inherited values.
PoolDatasetEntryProperty
Type: objectWhether the dataset is read-only.
No Additional PropertiesParsed
Type: objectThe ZFS property value parsed into the appropriate type (string, boolean, integer, etc.).
Rawvalue
The raw string value of the ZFS property as stored in the pool. Can be null if not set.
Value
The current effective value of the ZFS property as a string. Can be null if inherited or not set.
Source
Indicates where the property value originates from.
"LOCAL"
"INHERITED"
"DEFAULT"
Source Info
Type: objectAdditional metadata about the property source, such as the parent dataset for inherited values.
PoolDatasetEntryProperty
Type: objectThe suggested block size for files in this filesystem dataset.
No Additional PropertiesParsed
Type: objectThe ZFS property value parsed into the appropriate type (string, boolean, integer, etc.).
Rawvalue
The raw string value of the ZFS property as stored in the pool. Can be null if not set.
Value
The current effective value of the ZFS property as a string. Can be null if inherited or not set.
Source
Indicates where the property value originates from.
"LOCAL"
"INHERITED"
"DEFAULT"
Source Info
Type: objectAdditional metadata about the property source, such as the parent dataset for inherited values.
PoolDatasetEntryProperty
Type: objectFor volumes, whether to use sparse (thin) provisioning.
No Additional PropertiesParsed
Type: objectThe ZFS property value parsed into the appropriate type (string, boolean, integer, etc.).
Rawvalue
The raw string value of the ZFS property as stored in the pool. Can be null if not set.
Value
The current effective value of the ZFS property as a string. Can be null if inherited or not set.
Source
Indicates where the property value originates from.
"LOCAL"
"INHERITED"
"DEFAULT"
Source Info
Type: objectAdditional metadata about the property source, such as the parent dataset for inherited values.
PoolDatasetEntryProperty
Type: objectFor volumes, the logical size of the volume.
No Additional PropertiesParsed
Type: objectThe ZFS property value parsed into the appropriate type (string, boolean, integer, etc.).
Rawvalue
The raw string value of the ZFS property as stored in the pool. Can be null if not set.
Value
The current effective value of the ZFS property as a string. Can be null if inherited or not set.
Source
Indicates where the property value originates from.
"LOCAL"
"INHERITED"
"DEFAULT"
Source Info
Type: objectAdditional metadata about the property source, such as the parent dataset for inherited values.
PoolDatasetEntryProperty
Type: objectFor volumes, the block size used by the volume.
No Additional PropertiesParsed
Type: objectThe ZFS property value parsed into the appropriate type (string, boolean, integer, etc.).
Rawvalue
The raw string value of the ZFS property as stored in the pool. Can be null if not set.
Value
The current effective value of the ZFS property as a string. Can be null if inherited or not set.
Source
Indicates where the property value originates from.
"LOCAL"
"INHERITED"
"DEFAULT"
Source Info
Type: objectAdditional metadata about the property source, such as the parent dataset for inherited values.
PoolDatasetEntryProperty
Type: objectFormat of the encryption key (hex/raw/passphrase). Only relevant for encrypted datasets.
No Additional PropertiesParsed
Type: objectThe ZFS property value parsed into the appropriate type (string, boolean, integer, etc.).
Rawvalue
The raw string value of the ZFS property as stored in the pool. Can be null if not set.
Value
The current effective value of the ZFS property as a string. Can be null if inherited or not set.
Source
Indicates where the property value originates from.
"LOCAL"
"INHERITED"
"DEFAULT"
Source Info
Type: objectAdditional metadata about the property source, such as the parent dataset for inherited values.
PoolDatasetEntryProperty
Type: objectEncryption algorithm used (e.g., AES-256-GCM). Only relevant for encrypted datasets.
No Additional PropertiesParsed
Type: objectThe ZFS property value parsed into the appropriate type (string, boolean, integer, etc.).
Rawvalue
The raw string value of the ZFS property as stored in the pool. Can be null if not set.
Value
The current effective value of the ZFS property as a string. Can be null if inherited or not set.
Source
Indicates where the property value originates from.
"LOCAL"
"INHERITED"
"DEFAULT"
Source Info
Type: objectAdditional metadata about the property source, such as the parent dataset for inherited values.
PoolDatasetEntryProperty
Type: objectTotal amount of disk space consumed by this dataset and all its children.
No Additional PropertiesParsed
Type: objectThe ZFS property value parsed into the appropriate type (string, boolean, integer, etc.).
Rawvalue
The raw string value of the ZFS property as stored in the pool. Can be null if not set.
Value
The current effective value of the ZFS property as a string. Can be null if inherited or not set.
Source
Indicates where the property value originates from.
"LOCAL"
"INHERITED"
"DEFAULT"
Source Info
Type: objectAdditional metadata about the property source, such as the parent dataset for inherited values.
PoolDatasetEntryProperty
Type: objectAmount of disk space consumed by child datasets.
No Additional PropertiesParsed
Type: objectThe ZFS property value parsed into the appropriate type (string, boolean, integer, etc.).
Rawvalue
The raw string value of the ZFS property as stored in the pool. Can be null if not set.
Value
The current effective value of the ZFS property as a string. Can be null if inherited or not set.
Source
Indicates where the property value originates from.
"LOCAL"
"INHERITED"
"DEFAULT"
Source Info
Type: objectAdditional metadata about the property source, such as the parent dataset for inherited values.
PoolDatasetEntryProperty
Type: objectAmount of disk space consumed by this dataset itself, excluding children and snapshots.
No Additional PropertiesParsed
Type: objectThe ZFS property value parsed into the appropriate type (string, boolean, integer, etc.).
Rawvalue
The raw string value of the ZFS property as stored in the pool. Can be null if not set.
Value
The current effective value of the ZFS property as a string. Can be null if inherited or not set.
Source
Indicates where the property value originates from.
"LOCAL"
"INHERITED"
"DEFAULT"
Source Info
Type: objectAdditional metadata about the property source, such as the parent dataset for inherited values.
PoolDatasetEntryProperty
Type: objectAmount of disk space consumed by the refreservation of this dataset.
No Additional PropertiesParsed
Type: objectThe ZFS property value parsed into the appropriate type (string, boolean, integer, etc.).
Rawvalue
The raw string value of the ZFS property as stored in the pool. Can be null if not set.
Value
The current effective value of the ZFS property as a string. Can be null if inherited or not set.
Source
Indicates where the property value originates from.
"LOCAL"
"INHERITED"
"DEFAULT"
Source Info
Type: objectAdditional metadata about the property source, such as the parent dataset for inherited values.
PoolDatasetEntryProperty
Type: objectAmount of disk space consumed by snapshots of this dataset.
No Additional PropertiesParsed
Type: objectThe ZFS property value parsed into the appropriate type (string, boolean, integer, etc.).
Rawvalue
The raw string value of the ZFS property as stored in the pool. Can be null if not set.
Value
The current effective value of the ZFS property as a string. Can be null if inherited or not set.
Source
Indicates where the property value originates from.
"LOCAL"
"INHERITED"
"DEFAULT"
Source Info
Type: objectAdditional metadata about the property source, such as the parent dataset for inherited values.
PoolDatasetEntryProperty
Type: objectAmount of disk space available to this dataset and its children.
No Additional PropertiesParsed
Type: objectThe ZFS property value parsed into the appropriate type (string, boolean, integer, etc.).
Rawvalue
The raw string value of the ZFS property as stored in the pool. Can be null if not set.
Value
The current effective value of the ZFS property as a string. Can be null if inherited or not set.
Source
Indicates where the property value originates from.
"LOCAL"
"INHERITED"
"DEFAULT"
Source Info
Type: objectAdditional metadata about the property source, such as the parent dataset for inherited values.
PoolDatasetEntryProperty
Type: objectSize threshold below which blocks are stored on special vdevs if configured.
No Additional PropertiesParsed
Type: objectThe ZFS property value parsed into the appropriate type (string, boolean, integer, etc.).
Rawvalue
The raw string value of the ZFS property as stored in the pool. Can be null if not set.
Value
The current effective value of the ZFS property as a string. Can be null if inherited or not set.
Source
Indicates where the property value originates from.
"LOCAL"
"INHERITED"
"DEFAULT"
Source Info
Type: objectAdditional metadata about the property source, such as the parent dataset for inherited values.
PoolDatasetEntryProperty
Type: objectNumber of PBKDF2 iterations used for passphrase-based encryption keys.
No Additional PropertiesParsed
Type: objectThe ZFS property value parsed into the appropriate type (string, boolean, integer, etc.).
Rawvalue
The raw string value of the ZFS property as stored in the pool. Can be null if not set.
Value
The current effective value of the ZFS property as a string. Can be null if inherited or not set.
Source
Indicates where the property value originates from.
"LOCAL"
"INHERITED"
"DEFAULT"
Source Info
Type: objectAdditional metadata about the property source, such as the parent dataset for inherited values.
PoolDatasetEntryProperty
Type: objectTimestamp when this dataset was created.
No Additional PropertiesParsed
Type: objectThe ZFS property value parsed into the appropriate type (string, boolean, integer, etc.).
Rawvalue
The raw string value of the ZFS property as stored in the pool. Can be null if not set.
Value
The current effective value of the ZFS property as a string. Can be null if inherited or not set.
Source
Indicates where the property value originates from.
"LOCAL"
"INHERITED"
"DEFAULT"
Source Info
Type: objectAdditional metadata about the property source, such as the parent dataset for inherited values.
PoolDatasetEntryProperty
Type: objectControls visibility of volume snapshots under /dev/zvol/<pool>/.
No Additional PropertiesParsed
Type: objectThe ZFS property value parsed into the appropriate type (string, boolean, integer, etc.).
Rawvalue
The raw string value of the ZFS property as stored in the pool. Can be null if not set.
Value
The current effective value of the ZFS property as a string. Can be null if inherited or not set.
Source
Indicates where the property value originates from.
"LOCAL"
"INHERITED"
"DEFAULT"
Source Info
Type: objectAdditional metadata about the property source, such as the parent dataset for inherited values.
Mountpoint
Filesystem path where this dataset is mounted. Null for unmounted datasets or volumes.
Additional Properties of any type are allowed.
Type: objectPoolDatasetQueryResultItem
Type: objectId
Type: stringThe full dataset path including pool name.
"tank/dataset/child"
Type
Type: stringThe dataset type.
"FILESYSTEM"
"VOLUME"
Name
Type: stringThe dataset name without the pool prefix.
Pool
Type: stringThe name of the ZFS pool containing this dataset.
Encrypted
Type: booleanWhether the dataset is encrypted.
Encryption Root
The root dataset where encryption is enabled. null
if the dataset is not encrypted.
Key Loaded
Whether the encryption key is currently loaded for encrypted datasets. null
for unencrypted datasets.
Children
Type: arrayArray of child dataset objects nested under this dataset.
No Additional ItemsEach item of this array must be:
User Properties
Type: objectCustom user-defined ZFS properties set on this dataset as key-value pairs.
Locked
Type: booleanWhether an encrypted dataset is currently locked (key not loaded).
ZFS comments property for storing descriptive text about the dataset.
ZFS quota warning threshold property as a percentage.
ZFS quota critical threshold property as a percentage.
ZFS reference quota warning threshold property as a percentage.
ZFS reference quota critical threshold property as a percentage.
Identifies which service or system manages this dataset.
ZFS deduplication setting - whether identical data blocks are stored only once.
How Access Control Lists (ACLs) are handled when chmod is used.
The type of Access Control List system used (NFSV4, POSIX, or OFF).
Extended attributes storage method (on/off).
Whether file access times are updated when files are accessed.
File name case sensitivity setting (sensitive/insensitive).
Data integrity checksum algorithm used for this dataset.
Whether files in this dataset can be executed.
Synchronous write behavior (standard/always/disabled).
Compression algorithm and level applied to data in this dataset.
The achieved compression ratio as a decimal (e.g., '2.50x').
The snapshot from which this clone was created. Empty for non-clone datasets.
Maximum amount of disk space this dataset and its children can consume.
Maximum amount of disk space this dataset itself can consume (excluding children).
Minimum amount of disk space guaranteed to be available to this dataset and its children.
Minimum amount of disk space guaranteed to be available to this dataset itself.
Number of copies of data blocks to maintain for redundancy (1-3).
Visibility of the .zfs/snapshot directory (visible/hidden).
Whether the dataset is read-only.
The suggested block size for files in this filesystem dataset.
For volumes, whether to use sparse (thin) provisioning.
For volumes, the logical size of the volume.
For volumes, the block size used by the volume.
Format of the encryption key (hex/raw/passphrase). Only relevant for encrypted datasets.
Encryption algorithm used (e.g., AES-256-GCM). Only relevant for encrypted datasets.
Total amount of disk space consumed by this dataset and all its children.
Amount of disk space consumed by child datasets.
Amount of disk space consumed by this dataset itself, excluding children and snapshots.
Amount of disk space consumed by the refreservation of this dataset.
Amount of disk space consumed by snapshots of this dataset.
Amount of disk space available to this dataset and its children.
Size threshold below which blocks are stored on special vdevs if configured.
Number of PBKDF2 iterations used for passphrase-based encryption keys.
Timestamp when this dataset was created.
Controls visibility of volume snapshots under /dev/zvol/<pool>/.
Mountpoint
Filesystem path where this dataset is mounted. Null for unmounted datasets or volumes.
Additional Properties of any type are allowed.
Type: objectRequired roles: DATASET_READ