zfs.resource.set¶
Change the properties of a ZFS resource (filesystem or volume).
One request sets native properties, sets user properties and resets properties to their inherited value. Properties are given by native ZFS property name - exactly the names zfs.resource.list returns - and are handed to ZFS as-is. The returned entry holds the values as canonicalized by ZFS, not the input.
Inheriting a user property removes it. Inheriting acltype also inherits aclmode and aclinherit unless the request sets them, and setting acltype defaults them the way zfs.resource.create does.
A validation error is raised when:
a snapshot path (containing
@) is supplied (EINVAL)the path references a protected internal resource (
EACCES)the resource does not exist (
ENOENT)nothing is set or inherited (
EINVAL)the same name is both set and inherited (
EINVAL)a name in
inheritis neither a settable native property nor a user property name with a colon, or a user property name lacks a colon (EINVAL)volsizeis smaller than the volume’s current size (EINVAL)volsizeis changed on a read-only (EROFS) or locked (EACCES) volumevolsizeis not a multiple of the volume’svolblocksize(EINVAL)volsizeexceeds 80% of the space available to the volume andforce_sizeis not set (EINVAL)a filesystem’s
refreservationwould exceed itsrefquota, or isauto(EINVAL)force_sizeis set for a FILESYSTEM (EINVAL)the effective
acltypeandaclmodecombination is unusable - a posix or off acltype requires a discard aclmode and a discard aclmode may not be combined with the nfsv4 acltype (EINVAL)special_small_blocksis set or inherited while ZFS tiering is enabled - placement is managed with zfs.tier.dataset_set_tier (EINVAL)deduplication is requested on a system that is not entitled to it, or for a filesystem whose data is placed on the SPECIAL vdev (the PERFORMANCE tier) while ZFS tiering is enabled (
EINVAL)a property is invalid for the resource type, is read-only, or has an invalid value (
EINVAL)acltypeis changed on a filesystem hosting an enabled SMB share (EINVAL)snapdevwould hide a snapshot device backing an iSCSI extent, NVMe-oF namespace or VM disk (EINVAL)
Important
A dependent service that fails to follow a volsize or readonly change fails the
call, but the properties stay written.
Examples:
Set a property:
{"path": "tank/documents", "properties": {"compression": "zstd"}}
Reset a property to its inherited value:
{"path": "tank/documents", "inherit": ["compression"]}
Set one user property and remove another:
{
"path": "tank/documents",
"user_properties": {"org.truenas:custom": "value"},
"inherit": ["org.truenas:obsolete"]
}
No Additional Items
Tuple Validation
Parameter 1: data
data
Type: objectSet parameters for changing a ZFS resource.
No Additional PropertiesPath
Type: stringPath of the zfs resource (dataset or volume) to be updated. Must be of the form 'pool/name'. Snapshot paths (containing '@') are not accepted.
Must be at least 1 characters long
ZFSResourceSetProperties
Type: objectZFS properties to set. Values are handed to ZFS verbatim and canonicalized by ZFS itself. Read the returned entry for the effective values. A property left as null is not touched. Any property not in this model may not be changed here.
An explicit 'acltype' also defaults the coupled acl properties unless they are given. An nfsv4 acltype defaults 'aclinherit' to 'passthrough' while a posix or off acltype defaults both 'aclmode' and 'aclinherit' to 'discard'.
A volume's 'volsize' may only grow. Encryption is managed with the pool.dataset key methods and shares with the sharing.nfs and sharing.smb APIs. Neither may be configured through these properties.
Aclinherit
Default: nullACL inheritance behavior for new files and directories.
Must be one of:
- "discard"
- "noallow"
- "restricted"
- "passthrough"
- "passthrough-x"
Aclmode
Default: nullHow ACLs are modified during chmod operations.
Must be one of:
- "discard"
- "groupmask"
- "passthrough"
- "restricted"
Acltype
Default: nullThe type of ACL to use (off, posix, or nfsv4).
Must be one of:
- "off"
- "posix"
- "nfsv4"
Atime
Default: nullWhether file access times are updated on read.
Must be one of:
- "off"
- "on"
Checksum
Default: nullChecksum algorithm used to verify data integrity.
Must be one of:
- "on"
- "off"
- "fletcher2"
- "fletcher4"
- "sha256"
- "sha512"
- "skein"
- "edonr"
- "blake3"
Compression
Default: nullCompression algorithm for the resource.
Must be one of:
- "on"
- "off"
- "lzjb"
- "gzip"
- "gzip-1"
- "gzip-2"
- "gzip-3"
- "gzip-4"
- "gzip-5"
- "gzip-6"
- "gzip-7"
- "gzip-8"
- "gzip-9"
- "zle"
- "lz4"
- "zstd"
- "zstd-1"
- "zstd-2"
- "zstd-3"
- "zstd-4"
- "zstd-5"
- "zstd-6"
- "zstd-7"
- "zstd-8"
- "zstd-9"
- "zstd-10"
- "zstd-11"
- "zstd-12"
- "zstd-13"
- "zstd-14"
- "zstd-15"
- "zstd-16"
- "zstd-17"
- "zstd-18"
- "zstd-19"
- "zstd-fast"
- "zstd-fast-1"
- "zstd-fast-2"
- "zstd-fast-3"
- "zstd-fast-4"
- "zstd-fast-5"
- "zstd-fast-6"
- "zstd-fast-7"
- "zstd-fast-8"
- "zstd-fast-9"
- "zstd-fast-10"
- "zstd-fast-20"
- "zstd-fast-30"
- "zstd-fast-40"
- "zstd-fast-50"
- "zstd-fast-60"
- "zstd-fast-70"
- "zstd-fast-80"
- "zstd-fast-90"
- "zstd-fast-100"
- "zstd-fast-500"
- "zstd-fast-1000"
Copies
Default: nullNumber of copies of data blocks to store (1, 2, or 3).
Value must be greater or equal to 1 and lesser or equal to 3
Dedup
Default: nullDeduplication setting for the resource.
Must be one of:
- "on"
- "off"
- "verify"
- "sha256"
- "sha256,verify"
- "sha512"
- "sha512,verify"
- "skein"
- "skein,verify"
- "edonr,verify"
- "blake3"
- "blake3,verify"
Exec
Default: nullWhether programs can be executed from the filesystem.
Must be one of:
- "off"
- "on"
Quota
Default: nullMaximum space the dataset and its descendants may consume. Takes a size as described for 'volsize'. 'none' or 0 removes the limit.
Readonly
Default: nullWhether the resource can be modified.
Must be one of:
- "off"
- "on"
Recordsize
Default: nullSuggested block size for files in the filesystem. Takes a size as described for 'volsize'.
Refquota
Default: nullMaximum space the dataset itself may consume. Takes a size as described for 'volsize'. 'none' or 0 removes the limit.
Refreservation
Default: nullMinimum space reserved for the resource itself. Takes a size as described for 'volsize'. 'none' or 0 removes the reservation. 'auto' reserves the space the volume's size requires and is accepted for volumes only. Giving it together with a 'volsize' grow replaces the automatic re-reservation described for 'volsize'.
Specific value:
"auto"
Reservation
Default: nullMinimum space reserved for the dataset and its descendants. Takes a size as described for 'volsize'. 'none' or 0 removes the reservation.
Snapdev
Default: nullSnapshot device visibility under /dev/zvol.
Must be one of:
- "hidden"
- "visible"
Snapdir
Default: nullVisibility of the .zfs/snapshot directory.
Must be one of:
- "hidden"
- "visible"
- "disabled"
Special Small Blocks
Default: nullSize threshold below which blocks are stored on the SPECIAL vdev. Takes a size as described for 'volsize'. 0 stores no data blocks on the SPECIAL vdev.
Sync
Default: nullSynchronous write behavior.
Must be one of:
- "standard"
- "always"
- "disabled"
Volsize
Default: nullLogical size of the volume. A byte count, or a string with a binary suffix (K, M, G, T, P or E, optionally followed by B or iB) such as '128K'. A fractional value such as '1.5M' is accepted only when it is a whole number of bytes. It may only grow. A grow on a volume whose 'refreservation' equals its current size, or is what 'auto' computes for it, re-reserves the volume automatically, as 'refreservation' 'auto' does, unless 'refreservation' is given in the same request.
Xattr
Default: nullExtended attribute storage mode. Defaults to 'sa' for performance.
Must be one of:
- "off"
- "sa"
- "dir"
User Properties
Type: object Default: {}User properties to set or overwrite, keyed by their full name (e.g. 'org.truenas:custom'). A name must contain a colon, may consist only of lowercase letters, digits and the characters ':', '.', '_' and '-', and must be shorter than 256 characters. A value may be at most 1024 characters long.
Each additional property must conform to the following schema
Type: stringInherit
Type: array of string Default: []Property names to reset to their inherited value, as zfs inherit does. A native property must be one of those settable through properties except quota, refquota, reservation, refreservation and volsize, which have no inherited value. A user property name must contain a colon; inheriting one removes it from this resource. On a filesystem, inheriting acltype also inherits aclmode and aclinherit unless those are given in properties. On a pool's root dataset the property returns to its ZFS default.
Each item of this array must be:
Force Size
Type: boolean Default: falseSkip the check that refuses a 'volsize' above 80% of the space available to the VOLUME. ZFS still refuses a grow whose reservation it cannot back. Applies to a VOLUME only.
ZFSResourceEntry
Type: objectNo Additional Properties
Createtxg
Type: integerTransaction group when resource was created.
Guid
Type: integerGlobally unique identifier for the resource.
Name
Type: stringThe name of the zfs resource.
Pool
Type: stringThe name of the zpool that the zfs resouce is associated to.
The zfs properties for the resource.
ZFSPropertiesEntry
Type: objectNo Additional Properties
Aclinherit
Type: objectControls how ACEs are inherited for new files/directories.
No Additional PropertiesRaw
Type: stringThe raw value of the property.
The source from where this property received its value.
SourceValue
Type: objectNo Additional Properties
Type
Type: enum (of string)The source type.
Must be one of:
- "NONE"
- "DEFAULT"
- "TEMPORARY"
- "LOCAL"
- "INHERITED"
- "RECEIVED"
Value
The source value.
Value
The parsed raw value of the property.
Aclmode
Type: objectDetermines how ACLs are modified during chmod operations.
No Additional PropertiesRaw
Type: stringThe raw value of the property.
The source from where this property received its value.
Value
The parsed raw value of the property.
Acltype
Type: objectSpecifies type of ACL to use (off, nfsv4, posix).
No Additional PropertiesRaw
Type: stringThe raw value of the property.
The source from where this property received its value.
Value
The parsed raw value of the property.
Atime
Type: objectControls whether access time is updated on file reads.
No Additional PropertiesRaw
Type: stringThe raw value of the property.
The source from where this property received its value.
Value
The parsed raw value of the property.
Canmount
Type: objectControls whether filesystem can be mounted.
No Additional PropertiesRaw
Type: stringThe raw value of the property.
The source from where this property received its value.
Value
The parsed raw value of the property.
Casesensitivity
Type: objectDetermines filename matching algorithm sensitivity.
No Additional PropertiesRaw
Type: stringThe raw value of the property.
The source from where this property received its value.
Value
The parsed raw value of the property.
Defaultgroupobjquota
Type: objectDefault object quota for new groups.
No Additional PropertiesRaw
Type: stringThe raw value of the property.
The source from where this property received its value.
Value
The parsed raw value of the property.
Defaultgroupquota
Type: objectDefault space quota for new groups.
No Additional PropertiesRaw
Type: stringThe raw value of the property.
The source from where this property received its value.
Value
The parsed raw value of the property.
Defaultprojectobjquota
Type: objectDefault object quota for new projects.
No Additional PropertiesRaw
Type: stringThe raw value of the property.
The source from where this property received its value.
Value
The parsed raw value of the property.
Defaultprojectquota
Type: objectDefault space quota for new projects.
No Additional PropertiesRaw
Type: stringThe raw value of the property.
The source from where this property received its value.
Value
The parsed raw value of the property.
Defaultuserobjquota
Type: objectDefault object quota for new users.
No Additional PropertiesRaw
Type: stringThe raw value of the property.
The source from where this property received its value.
Value
The parsed raw value of the property.
Defaultuserquota
Type: objectDefault space quota for new users.
No Additional PropertiesRaw
Type: stringThe raw value of the property.
The source from where this property received its value.
Value
The parsed raw value of the property.
Devices
Type: objectControls whether device files can be opened.
No Additional PropertiesRaw
Type: stringThe raw value of the property.
The source from where this property received its value.
Value
The parsed raw value of the property.
Direct
Type: objectControls direct I/O behavior (standard or always).
No Additional PropertiesRaw
Type: stringThe raw value of the property.
The source from where this property received its value.
Value
The parsed raw value of the property.
Dnodesize
Type: objectControls dnode size for new objects.
No Additional PropertiesRaw
Type: stringThe raw value of the property.
The source from where this property received its value.
Value
The parsed raw value of the property.
Exec
Type: objectControls whether programs can be executed from filesystem.
No Additional PropertiesRaw
Type: stringThe raw value of the property.
The source from where this property received its value.
Value
The parsed raw value of the property.
Filesystem Count
Type: object(READ-ONLY): Count of child filesystems.
No Additional PropertiesRaw
Type: stringThe raw value of the property.
The source from where this property received its value.
Value
The parsed raw value of the property.
Filesystem Limit
Type: objectMaximum number of child filesystems allowed.
No Additional PropertiesRaw
Type: stringThe raw value of the property.
The source from where this property received its value.
Value
The parsed raw value of the property.
Longname
Type: objectControls support for long filenames.
No Additional PropertiesRaw
Type: stringThe raw value of the property.
The source from where this property received its value.
Value
The parsed raw value of the property.
Mounted
Type: object(READ-ONLY): Property indicating if filesystem is mounted.
No Additional PropertiesRaw
Type: stringThe raw value of the property.
The source from where this property received its value.
Value
The parsed raw value of the property.
Mountpoint
Type: objectControls mount point used for this filesystem.
No Additional PropertiesRaw
Type: stringThe raw value of the property.
The source from where this property received its value.
Value
The parsed raw value of the property.
Nbmand
Type: objectControls non-blocking mandatory locking behavior.
No Additional PropertiesRaw
Type: stringThe raw value of the property.
The source from where this property received its value.
Value
The parsed raw value of the property.
Normalization
Type: objectUnicode normalization property for filenames.
No Additional PropertiesRaw
Type: stringThe raw value of the property.
The source from where this property received its value.
Value
The parsed raw value of the property.
Overlay
Type: objectControls overlay mount behavior.
No Additional PropertiesRaw
Type: stringThe raw value of the property.
The source from where this property received its value.
Value
The parsed raw value of the property.
Quota
Type: objectLimits space consumed by dataset and descendants.
No Additional PropertiesRaw
Type: stringThe raw value of the property.
The source from where this property received its value.
Value
The parsed raw value of the property.
Recordsize
Type: objectMaximum block size for files in this filesystem.
No Additional PropertiesRaw
Type: stringThe raw value of the property.
The source from where this property received its value.
Value
The parsed raw value of the property.
Refquota
Type: objectLimits space consumed by dataset itself (no descendants).
No Additional PropertiesRaw
Type: stringThe raw value of the property.
The source from where this property received its value.
Value
The parsed raw value of the property.
Refreservation
Type: objectMinimum space reserved for volume itself.
No Additional PropertiesRaw
Type: stringThe raw value of the property.
The source from where this property received its value.
Value
The parsed raw value of the property.
Relatime
Type: objectControls relative access time updates.
No Additional PropertiesRaw
Type: stringThe raw value of the property.
The source from where this property received its value.
Value
The parsed raw value of the property.
Setuid
Type: objectControls setuid/setgid bit respect on executable files.
No Additional PropertiesRaw
Type: stringThe raw value of the property.
The source from where this property received its value.
Value
The parsed raw value of the property.
Snapdir
Type: objectControls snapshot directory visibility (hidden or visible).
No Additional PropertiesRaw
Type: stringThe raw value of the property.
The source from where this property received its value.
Value
The parsed raw value of the property.
Special Small Blocks
Type: objectSize threshold for storing blocks on special vdevs.
No Additional PropertiesRaw
Type: stringThe raw value of the property.
The source from where this property received its value.
Value
The parsed raw value of the property.
Utf8Only
Type: objectControls whether only UTF-8 filenames are allowed.
No Additional PropertiesRaw
Type: stringThe raw value of the property.
The source from where this property received its value.
Value
The parsed raw value of the property.
Version
Type: object(READ-ONLY): Filesystem version number.
No Additional PropertiesRaw
Type: stringThe raw value of the property.
The source from where this property received its value.
Value
The parsed raw value of the property.
Volmode
Type: objectControls volume mode (default, geom, dev, none).
No Additional PropertiesRaw
Type: stringThe raw value of the property.
The source from where this property received its value.
Value
The parsed raw value of the property.
Vscan
Type: objectControls virus scanning behavior.
No Additional PropertiesRaw
Type: stringThe raw value of the property.
The source from where this property received its value.
Value
The parsed raw value of the property.
Xattr
Type: objectControls extended attribute behavior (on, off, sa, dir).
No Additional PropertiesRaw
Type: stringThe raw value of the property.
The source from where this property received its value.
Value
The parsed raw value of the property.
Zoned
Type: objectControls whether filesystem is managed from a zone.
No Additional PropertiesRaw
Type: stringThe raw value of the property.
The source from where this property received its value.
Value
The parsed raw value of the property.
Available
Type: objectAmount of space available to dataset and its children.
No Additional PropertiesRaw
Type: stringThe raw value of the property.
The source from where this property received its value.
Value
The parsed raw value of the property.
Checksum
Type: objectControls checksum algorithm used to verify data integrity.
No Additional PropertiesRaw
Type: stringThe raw value of the property.
The source from where this property received its value.
Value
The parsed raw value of the property.
Compression
Type: objectControls compression algorithm used for this dataset.
No Additional PropertiesRaw
Type: stringThe raw value of the property.
The source from where this property received its value.
Value
The parsed raw value of the property.
Compressratio
Type: object(READ-ONLY): Property showing achieved compression ratio.
No Additional PropertiesRaw
Type: stringThe raw value of the property.
The source from where this property received its value.
Value
The parsed raw value of the property.
Context
Type: objectSELinux security context for the dataset.
No Additional PropertiesRaw
Type: stringThe raw value of the property.
The source from where this property received its value.
Value
The parsed raw value of the property.
Copies
Type: objectControls number of copies of data stored (1, 2, or 3).
No Additional PropertiesRaw
Type: stringThe raw value of the property.
The source from where this property received its value.
Value
The parsed raw value of the property.
Createtxg
Type: object(READ-ONLY): Transaction group when dataset was created.
No Additional PropertiesRaw
Type: stringThe raw value of the property.
The source from where this property received its value.
Value
The parsed raw value of the property.
Creation
Type: object(READ-ONLY): Timestamp when dataset was created.
No Additional PropertiesRaw
Type: stringThe raw value of the property.
The source from where this property received its value.
Value
The parsed raw value of the property.
Dedup
Type: objectControls data deduplication for the dataset.
No Additional PropertiesRaw
Type: stringThe raw value of the property.
The source from where this property received its value.
Value
The parsed raw value of the property.
Defcontext
Type: objectSELinux default security context for new files.
No Additional PropertiesRaw
Type: stringThe raw value of the property.
The source from where this property received its value.
Value
The parsed raw value of the property.
Encryption
Type: objectControls encryption cipher suite for the dataset.
No Additional PropertiesRaw
Type: stringThe raw value of the property.
The source from where this property received its value.
Value
The parsed raw value of the property.
Encryptionroot
Type: object(READ-ONLY): Property showing encryption root dataset.
No Additional PropertiesRaw
Type: stringThe raw value of the property.
The source from where this property received its value.
Value
The parsed raw value of the property.
Fscontext
Type: objectSELinux filesystem security context.
No Additional PropertiesRaw
Type: stringThe raw value of the property.
The source from where this property received its value.
Value
The parsed raw value of the property.
Guid
Type: object(READ-ONLY): Globally unique identifier for the dataset.
No Additional PropertiesRaw
Type: stringThe raw value of the property.
The source from where this property received its value.
Value
The parsed raw value of the property.
Keyformat
Type: objectEncryption key format (raw, hex, or passphrase).
No Additional PropertiesRaw
Type: stringThe raw value of the property.
The source from where this property received its value.
Value
The parsed raw value of the property.
Keylocation
Type: objectLocation where encryption key is stored.
No Additional PropertiesRaw
Type: stringThe raw value of the property.
The source from where this property received its value.
Value
The parsed raw value of the property.
Keystatus
Type: object(READ-ONLY): Encryption key status (available/unavailable).
No Additional PropertiesRaw
Type: stringThe raw value of the property.
The source from where this property received its value.
Value
The parsed raw value of the property.
Logbias
Type: objectControls ZIL write behavior (latency or throughput).
No Additional PropertiesRaw
Type: stringThe raw value of the property.
The source from where this property received its value.
Value
The parsed raw value of the property.
Logicalreferenced
Type: object(READ-ONLY): Logical space referenced by dataset.
No Additional PropertiesRaw
Type: stringThe raw value of the property.
The source from where this property received its value.
Value
The parsed raw value of the property.
Logicalused
Type: object(READ-ONLY): Logical space used by dataset and descendants.
No Additional PropertiesRaw
Type: stringThe raw value of the property.
The source from where this property received its value.
Value
The parsed raw value of the property.
Mlslabel
Type: objectMulti-level security label for the dataset.
No Additional PropertiesRaw
Type: stringThe raw value of the property.
The source from where this property received its value.
Value
The parsed raw value of the property.
Objsetid
Type: object(READ-ONLY): Object set identifier for the dataset.
No Additional PropertiesRaw
Type: stringThe raw value of the property.
The source from where this property received its value.
Value
The parsed raw value of the property.
Origin
Type: object(READ-ONLY): Snapshot this dataset was cloned from.
No Additional PropertiesRaw
Type: stringThe raw value of the property.
The source from where this property received its value.
Value
The parsed raw value of the property.
Pbkdf2Iters
Type: objectNumber of PBKDF2 iterations for key derivation.
No Additional PropertiesRaw
Type: stringThe raw value of the property.
The source from where this property received its value.
Value
The parsed raw value of the property.
Prefetch
Type: objectControls prefetch behavior (all, metadata, or none).
No Additional PropertiesRaw
Type: stringThe raw value of the property.
The source from where this property received its value.
Value
The parsed raw value of the property.
Primarycache
Type: objectControls primary cache usage (all, metadata, or none).
No Additional PropertiesRaw
Type: stringThe raw value of the property.
The source from where this property received its value.
Value
The parsed raw value of the property.
Readonly
Type: objectControls whether dataset can be modified.
No Additional PropertiesRaw
Type: stringThe raw value of the property.
The source from where this property received its value.
Value
The parsed raw value of the property.
Receive Resume Token
Type: object(READ-ONLY): Token for resuming interrupted zfs receive.
No Additional PropertiesRaw
Type: stringThe raw value of the property.
The source from where this property received its value.
Value
The parsed raw value of the property.
Redact Snaps
Type: object(READ-ONLY): List of redaction snapshots.
No Additional PropertiesRaw
Type: stringThe raw value of the property.
The source from where this property received its value.
Value
The parsed raw value of the property.
Redundant Metadata
Type: objectControls redundant metadata storage (all or most).
No Additional PropertiesRaw
Type: stringThe raw value of the property.
The source from where this property received its value.
Value
The parsed raw value of the property.
Refcompressratio
Type: object(READ-ONLY): Compression ratio for referenced data.
No Additional PropertiesRaw
Type: stringThe raw value of the property.
The source from where this property received its value.
Value
The parsed raw value of the property.
Referenced
Type: object(READ-ONLY): Space referenced by this dataset.
No Additional PropertiesRaw
Type: stringThe raw value of the property.
The source from where this property received its value.
Value
The parsed raw value of the property.
Reservation
Type: objectMinimum space reserved for dataset and descendants.
No Additional PropertiesRaw
Type: stringThe raw value of the property.
The source from where this property received its value.
Value
The parsed raw value of the property.
Rootcontext
Type: objectSELinux root directory security context.
No Additional PropertiesRaw
Type: stringThe raw value of the property.
The source from where this property received its value.
Value
The parsed raw value of the property.
Secondarycache
Type: objectControls secondary cache usage (all, metadata, or none).
No Additional PropertiesRaw
Type: stringThe raw value of the property.
The source from where this property received its value.
Value
The parsed raw value of the property.
Snapdev
Type: objectControls snapshot device visibility (hidden or visible).
No Additional PropertiesRaw
Type: stringThe raw value of the property.
The source from where this property received its value.
Value
The parsed raw value of the property.
Snapshot Count
Type: object(READ-ONLY): Count of snapshots in this dataset.
No Additional PropertiesRaw
Type: stringThe raw value of the property.
The source from where this property received its value.
Value
The parsed raw value of the property.
Snapshot Limit
Type: objectMaximum number of snapshots allowed.
No Additional PropertiesRaw
Type: stringThe raw value of the property.
The source from where this property received its value.
Value
The parsed raw value of the property.
Snapshots Changed
Type: object(READ-ONLY): Property indicating snapshot changes.
No Additional PropertiesRaw
Type: stringThe raw value of the property.
The source from where this property received its value.
Value
The parsed raw value of the property.
Sync
Type: objectControls synchronous write behavior (standard, always, disabled).
No Additional PropertiesRaw
Type: stringThe raw value of the property.
The source from where this property received its value.
Value
The parsed raw value of the property.
Type
(READ-ONLY): Type of ZFS dataset (filesystem, volume, etc).
PropertyValue
Type: objectNo Additional Properties
Raw
Type: stringThe raw value of the property.
The source from where this property received its value.
Value
The parsed raw value of the property.
Used
Type: object(READ-ONLY): Space used by dataset and descendants.
No Additional PropertiesRaw
Type: stringThe raw value of the property.
The source from where this property received its value.
Value
The parsed raw value of the property.
Usedbychildren
Type: object(READ-ONLY): Space used by child datasets.
No Additional PropertiesRaw
Type: stringThe raw value of the property.
The source from where this property received its value.
Value
The parsed raw value of the property.
Usedbydataset
Type: object(READ-ONLY): Space used by this dataset itself.
No Additional PropertiesRaw
Type: stringThe raw value of the property.
The source from where this property received its value.
Value
The parsed raw value of the property.
Usedbyrefreservation
Type: object(READ-ONLY): Space used by refreservation.
No Additional PropertiesRaw
Type: stringThe raw value of the property.
The source from where this property received its value.
Value
The parsed raw value of the property.
Usedbysnapshots
Type: object(READ-ONLY): Space used by snapshots.
No Additional PropertiesRaw
Type: stringThe raw value of the property.
The source from where this property received its value.
Value
The parsed raw value of the property.
Written
Type: object(READ-ONLY): Space referenced since previous snapshot.
No Additional PropertiesRaw
Type: stringThe raw value of the property.
The source from where this property received its value.
Value
The parsed raw value of the property.
Volblocksize
Type: objectBlock size for volume (typically 8K or 16K).
No Additional PropertiesRaw
Type: stringThe raw value of the property.
The source from where this property received its value.
Value
The parsed raw value of the property.
Volsize
Type: objectLogical size of the volume.
No Additional PropertiesRaw
Type: stringThe raw value of the property.
The source from where this property received its value.
Value
The parsed raw value of the property.
Volthreading
Type: objectControls volume threading behavior.
No Additional PropertiesRaw
Type: stringThe raw value of the property.
The source from where this property received its value.
Value
The parsed raw value of the property.
Type
Type: enum (of string)The type of ZFS resource.
Must be one of:
- "FILESYSTEM"
- "VOLUME"
User Properties
Custom metadata properties with colon-separated names (max 256 chars).
Each additional property must conform to the following schema
Type: stringChildren
The children of this zfs resource.
No Additional Items
Each item of this array must be:
Tier classification for FILESYSTEM resources. None if not requested, not applicable, or deduplication is enabled on the dataset.
TierInfo
Type: objectNo Additional Properties
Tier Type
Type: enum (of string)Storage performance tier for this share.
Must be one of:
- "REGULAR"
- "PERFORMANCE"
Most recent rewrite job for this share's dataset, or null if no job history exists.
ZfsTierRewriteJobEntry
Type: objectNo Additional Properties
Tier Job Id
Type: stringRewrite job identifier in dataset_name@job_uuid format.
Must be at least 1 characters long
Dataset Name
Type: stringZFS dataset this job is operating on.
Must be at least 1 characters long
Job Uuid
Type: stringUnique identifier for this rewrite job.
Must be at least 1 characters long
Status
Type: enum (of string)Current lifecycle state of the job.
COMPLETE- All files in the dataset have been processed.RUNNING- Job is actively processing files.QUEUED- Job is waiting for a free execution slot (seemax_concurrent_jobs).CANCELLED- Job was stopped viazfs_tier_job.cancel. Not resumable.STOPPED- Job was RUNNING but its process is no longer active (e.g. daemon restart). This state is computed on read and is never written to persistent storage.ERROR- Job halted due to an unrecoverable error. Usezfs_tier_job.recoverto retry failed files.
Must be one of:
- "COMPLETE"
- "RUNNING"
- "QUEUED"
- "CANCELLED"
- "STOPPED"
- "ERROR"
Required roles: ZFS_RESOURCE_WRITE