mirror of
https://git.proxmox.com/git/mirror_zfs.git
synced 2025-01-14 04:00:31 +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}' | \
|
disklist=$(zpool iostat -v $1 | nawk '(NR >4) {print $1}' | \
|
||||||
grep -v "\-\-\-\-\-" | \
|
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
|
echo $disklist
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user