FreeBSD Manual Pages
ZFS-SET(8) BSD System Manager's Manual ZFS-SET(8) NAME zfs-set -- Sets the property or list of properties to the given value(s) for each dataset. SYNOPSIS zfs set property=value [property=value]... filesystem|volume|snapshot... zfs get [-r|-d depth] [-Hp] [-o field[,field]...] [-s source[,source]...] [-t type[,type]...] all | property[,property]... [filesystem|volume|snapshot|bookmark]... zfs inherit [-rS] property filesystem|volume|snapshot... DESCRIPTION zfs set property=value [property=value]... filesystem|volume|snapshot... Only some properties can be edited. See zfsprops(8) for more informa- tion on what properties can be set and acceptable values. Numeric val- ues can be specified as exact values, or in a human-readable form with a suffix of B, K, M, G, T, P, E, Z (for bytes, kilobytes, megabytes, gigabytes, terabytes, petabytes, exabytes, or zettabytes, respectively). User properties can be set on snapshots. For more in- formation, see the User Properties section of zfsprops(8). zfs get [-r|-d depth] [-Hp] [-o field[,field]...] [-s source[,source]...] [-t type[,type]...] all | property[,property]... [filesystem|volume|snapshot|bookmark]... Displays properties for the given datasets. If no datasets are speci- fied, then the command displays properties for all datasets on the sys- tem. For each property, the following columns are displayed: 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 -o option. This command takes a comma-separated list of properties as described in the Native Properties and User Properties sections of zfsprops(8). The value all can be used to display all properties that apply to the given dataset's type (filesystem, volume, snapshot, or bookmark). -H Display output in a form more easily parsed by scripts. Any head- ers are omitted, and fields are explicitly separated by a single tab instead of an arbitrary amount of space. -d depth Recursively display any children of the dataset, limiting the re- cursion to depth. A depth of 1 will display only the dataset and its direct children. -o field A comma-separated list of columns to display. name,property,value,source is the default value. -p Display numbers in parsable (exact) values. -r Recursively display properties for any children. -s source 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, and none. The default value is all sources. -t type A comma-separated list of types to display, where type is one of filesystem, snapshot, volume, bookmark, or all. zfs inherit [-rS] property filesystem|volume|snapshot... Clears the specified property, causing it to be inherited from an an- cestor, restored to default if no ancestor has the property set, or with the -S option reverted to the received value if one exists. See zfsprops(8) for a listing of default values, and details on which prop- erties can be inherited. -r Recursively inherit the given property for all children. -S Revert the property to the received value if one exists; otherwise operate as if the -S option was not specified. SEE ALSO zfs-list(8), zfsprops(8) BSD June 30, 2019 BSD
NAME | SYNOPSIS | DESCRIPTION | SEE ALSO
Want to link to this manual page? Use this URL:
<https://man.freebsd.org/cgi/man.cgi?query=zfs-set&sektion=8&manpath=FreeBSD+13.0-RELEASE+and+Ports>