diff options
author | loli10K <[email protected]> | 2020-01-07 00:40:06 +0100 |
---|---|---|
committer | Brian Behlendorf <[email protected]> | 2020-01-06 15:40:06 -0800 |
commit | c24fa4b19a1b117945f3235e014f926fe93b0c5a (patch) | |
tree | 37178dc7c410829ef81f1f2c61c7df44d6d41710 /tests/runfiles | |
parent | bc9cef11fddfe8e6e240477084a49f4bad1fb4f3 (diff) |
Fix "zpool add -n" for dedup, special and log devices
For dedup, special and log devices "zpool add -n" does not print
correctly their vdev type:
~# zpool add -n pool dedup /tmp/dedup special /tmp/special log /tmp/log
would update 'pool' to the following configuration:
pool
/tmp/normal
/tmp/dedup
/tmp/special
/tmp/log
This could lead storage administrators to modify their ZFS pools to
unexpected and unintended vdev configurations.
Reviewed-by: Brian Behlendorf <[email protected]>
Signed-off-by: loli10K <[email protected]>
Closes #9783
Closes #9390
Diffstat (limited to 'tests/runfiles')
0 files changed, 0 insertions, 0 deletions