diff options
author | Mike Gerdts <[email protected]> | 2019-07-16 13:19:24 -0500 |
---|---|---|
committer | Brian Behlendorf <[email protected]> | 2019-07-16 11:19:24 -0700 |
commit | d45d7f08fa56f94fc9577a6578cb411071a42e8d (patch) | |
tree | f841ba287b8040cb4930a60dae553b897d1972d8 /LICENSE | |
parent | 93e28d661e1d704a9cada86ef2bc4763a6ef3be7 (diff) |
Add zfs create dryrun
Adds the ability to sanity check zfs create arguments and to see the
value of any additional properties that will local to the dataset. For
example, automation that may need to adjust quota on a parent filesystem
before creating a volume may call `zfs create -nP -V <size> <volume>` to
obtain the value of refreservation. This adds the following options to
zfs create:
- -n dry-run (no-op)
- -v verbose
- -P parseable (implies verbose)
Reviewed-by: Ryan Moeller <[email protected]>
Reviewed-by: Brian Behlendorf <[email protected]>
Reviewed-by: Matt Ahrens <[email protected]>
Reviewed-by: Jerry Jelinek <[email protected]>
Signed-off-by: Mike Gerdts <[email protected]>
Closes #8974
Diffstat (limited to 'LICENSE')
0 files changed, 0 insertions, 0 deletions