mirror of
https://git.proxmox.com/git/mirror_zfs.git
synced 2024-12-26 19:19:32 +03:00
Update valid vdev types for get_disklist
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
This commit is contained in:
parent
db6be852da
commit
85a150ce1e
@ -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
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user