| Main index | Section 8 | Options |
| zfs
set
[ | |
| | |
| Update mountpoint, sharenfs, sharesmb property but do not mount or share the dataset. | |
| zfs
get
[ | |
| name | Dataset name |
| property | Property name |
| value | Property value |
| source | Property source local, default, inherited, temporary, received, or - (none). |
All columns are displayed by default, though this can be controlled by using the
The value all can be used to display all properties that apply to the given dataset's type ( filesystem, volume, snapshot, or bookmark).
| | Display output in a form more easily parsed by scripts. Any headers are omitted, and fields are explicitly separated by a single tab instead of an arbitrary amount of space. |
| | |
| Recursively display any children of the dataset, limiting the recursion to depth. A depth of 1 will display only the dataset and its direct children. | |
| | |
| A comma-separated list of columns to display, defaults to name, property, value, source. | |
| | Display numbers in parsable (exact) values. |
| | Recursively display properties for any children. |
| | |
| A comma-separated list of sources to display. Those properties coming from a source other than those in this list are ignored. Each source must be one of the following: local, default, inherited, temporary, received, or none. The default value is all sources. | |
| | |
| A comma-separated list of types to display, where type is one of filesystem, snapshot, volume, bookmark, or all. | |
| zfs
inherit
[ | |
| | |
| Recursively inherit the given property for all children. | |
| | |
|
Revert the property to the received value, if one exists;
otherwise, for non-inheritable properties, to the default;
otherwise, operate as if the
| |
# zfs
# zfs
# zfs
# zfs
# zfs
# zfs
# zfs NAME PROPERTY VALUE SOURCE pool/home/bob type filesystem - pool/home/bob creation Tue Jul 21 15:53 2009 - pool/home/bob used 21K - pool/home/bob available 20.0G - pool/home/bob referenced 21K - pool/home/bob compressratio 1.00x - pool/home/bob mounted yes - pool/home/bob quota 20G local pool/home/bob reservation none default pool/home/bob recordsize 128K default pool/home/bob mountpoint /pool/home/bob default pool/home/bob sharenfs off default pool/home/bob checksum on default pool/home/bob compression on local pool/home/bob atime on default pool/home/bob devices on default pool/home/bob exec on default pool/home/bob setuid on default pool/home/bob readonly off default pool/home/bob zoned off default pool/home/bob snapdir hidden default pool/home/bob acltype off default pool/home/bob aclmode discard default pool/home/bob aclinherit restricted default pool/home/bob canmount on default pool/home/bob xattr on default pool/home/bob copies 1 default pool/home/bob version 4 - pool/home/bob utf8only off - pool/home/bob normalization none - pool/home/bob casesensitivity sensitive - pool/home/bob vscan off default pool/home/bob nbmand off default pool/home/bob sharesmb off default pool/home/bob refquota none default pool/home/bob refreservation none default pool/home/bob primarycache all default pool/home/bob secondarycache all default pool/home/bob usedbysnapshots 0 - pool/home/bob usedbydataset 21K - pool/home/bob usedbychildren 0 - pool/home/bob usedbyrefreservation 0 -
The following command gets a single property value:
# zfs on
The following command lists all properties with local settings for pool/home/bob:
# zfs NAME PROPERTY VALUE pool/home/bob quota 20G pool/home/bob compression on
# zfs
# zfs
# zfs
If you are using DNS for host name resolution, specify the fully-qualified hostname.
| ZFS-SET (8) | March 16, 2022 |
| Main index | Section 8 | Options |
Please direct any comments about this manual page service to Ben Bullock. Privacy policy.
| “ | If you have a problem and you think awk(1) is the solution, then you have two problems. | ” |
| — David Tilbrook | ||