summaryrefslogtreecommitdiff
path: root/tests/bin/zpool
blob: be65e56b49614f2a20e5baa49df8edc9478b5c91 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#!/bin/sh


case "$1" in
	list)
		cat << EOF
NAME          SIZE  ALLOC   FREE  CKPOINT  EXPANDSZ   FRAG    CAP  DEDUP    HEALTH  ALTROOT
bpool        2.75G  54.4M  2.70G        -         -     0%     1%  1.00x    ONLINE  -
  nvme0n1p2     3G  54.4M  2.70G        -         -     0%  1.93%      -    ONLINE
rpool        3.62T   419M  3.62T        -         -     0%     0%  1.00x    ONLINE  -
  nvme0n1p3  3.64T   419M  3.62T        -         -     0%  0.01%      -    ONLINE
EOF
		;;
	*)
		echo "usage: zpool command args ..." >&2
		;;
esac