]> granicus.if.org Git - zfs/commitdiff
Update valid vdev types for get_disklist
authorRichard Elling <Richard.Elling@RichardElling.com>
Tue, 26 Mar 2019 21:18:58 +0000 (14:18 -0700)
committerBrian Behlendorf <behlendorf1@llnl.gov>
Tue, 26 Mar 2019 21:18:58 +0000 (14:18 -0700)
Reviewed-by: George Melikov <mail@gmelikov.ru>
Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Reviewed by: John Kennedy <john.kennedy@delphix.com>
Signed-off-by: Richard Elling <Richard.Elling@RichardElling.com>
Closes #8532

tests/zfs-tests/include/libtest.shlib

index 482ab5ef51015e196881369254d22f2d6699ae91..045c122077729c02a082a8f03f78e7ce3070fa86 100644 (file)
@@ -1957,7 +1957,7 @@ function get_disklist # pool
 
        disklist=$(zpool iostat -v $1 | nawk '(NR >4) {print $1}' | \
            grep -v "\-\-\-\-\-" | \
-           egrep -v -e "^(mirror|raidz1|raidz2|spare|log|cache)$")
+           egrep -v -e "^(mirror|raidz[1-3]|spare|log|cache|special|dedup)$")
 
        echo $disklist
 }