HomeFreeBSD

zpool: Dryrun fails to list some devices

Description

zpool: Dryrun fails to list some devices

zpool create -n fails to list cache and spare vdevs.
zpool add -n fails to list spare devices.
zpool split -n fails to list special and dedup labels.
zpool add -n and zpool split -n shouldn't list hole devices.

Reviewed-by: Ryan Moeller <ryan@iXsystems.com>
Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: Attila Fülöp <attila@fueloep.org>
Closes #11122
Closes #11167

Details

Provenance
Attila Fülöp <attila@fueloep.org>Authored on Dec 4 2020, 10:04 PM
GitHub <noreply@github.com>Committed on Dec 4 2020, 10:04 PM
Parents
rG4b6e2a5a3395: Add -u option to 'zfs create'
Branches
Unknown
Tags
Unknown