zfsa-property-set(1)

Set properties, applied together

ZFS Assistant 0.7.0

NAME

zfsa-property-set - Set properties, applied together

SYNOPSIS

zfsa property set [GLOBAL OPTIONS] [--dataset] [-h|--help] <OBJECT> <PROPERTY=VALUE>

DESCRIPTION

Set properties, applied together.

Risky changes ask first, and --dry-run shows what would change. zfsa property explain says what a property does and what changing it affects.

OPTIONS

--dataset

For a pool name, set the properties of its top dataset instead

-h, --help

Print help (see a summary with '-h')

<OBJECT>

A pool or dataset. A bare pool name means the pool's own properties

<PROPERTY=VALUE>

property=value, one or more

EXAMPLES

Two dataset properties at once:

zfsa property set tank/photos compression=zstd atime=off

A property of the pool itself, then one of its top dataset:

zfsa property set tank autotrim=on
zfsa property set tank --dataset compression=lz4

SEE ALSO

zfsa(1) for the global options, authorization, confirmations and exit status, zfsa-property(1).