Project

General

Profile

Actions

Feature #15513

open

zfs: Add zfs create dryrun

Added by Toomas Soome 3 months ago. Updated 3 months ago.

Status:
In Progress
Priority:
Normal
Assignee:
Category:
zfs - Zettabyte File System
Start date:
Due date:
% Done:

90%

Estimated time:
Difficulty:
Medium
Tags:
Gerrit CR:
External Bug:

Description

Pulling update from OpenZFS:

commit d45d7f08fa56f94fc9577a6578cb411071a42e8d
Author: Mike Gerdts <mike.gerdts@joyent.com>
Date:   Tue Jul 16 13:19:24 2019 -0500

    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 <ryan@ixsystems.com>
    Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
    Reviewed-by: Matt Ahrens <matt@delphix.com>
    Reviewed-by: Jerry Jelinek <jerry.jelinek@joyent.com>
    Signed-off-by: Mike Gerdts <mike.gerdts@joyent.com>
    Closes #8974


Related issues

Related to illumos gate - Bug #15511: zfs: Unify mount and share for 'zfs create/clone'In ProgressToomas Soome

Actions
Actions #1

Updated by Toomas Soome 3 months ago

  • Related to Bug #15511: zfs: Unify mount and share for 'zfs create/clone' added
Actions #2

Updated by Electric Monk 3 months ago

  • Gerrit CR set to 2742
Actions

Also available in: Atom PDF