12 expect_fl ${ZPOOL} create -o size=96M ${name0} ${disk0}
13 expect_fl ${ZPOOL} destroy ${name0}
15 expect_fl ${ZPOOL} create -o used=0 ${name0} ${disk0}
16 expect_fl ${ZPOOL} destroy ${name0}
18 expect_fl ${ZPOOL} create -o available=96M ${name0} ${disk0}
19 expect_fl ${ZPOOL} destroy ${name0}
21 expect_fl ${ZPOOL} create -o capacity=0% ${name0} ${disk0}
22 expect_fl ${ZPOOL} destroy ${name0}
24 expect_fl is_mountpoint /${name0}
25 expect_fl is_mountpoint /${name1}
26 expect_ok ${ZPOOL} create -o altroot=/${name1} ${name0} ${disk0}
28 echo "NAME PROPERTY VALUE SOURCE"
29 echo "${name0} altroot /${name1} local"
31 expect "${exp}" ${ZPOOL} get altroot ${name0}
32 expect_fl is_mountpoint /${name0}
33 if [ -z "${no_mountpoint}" ]; then
34 expect_ok is_mountpoint /${name1}
36 expect_fl is_mountpoint /${name1}
38 expect_ok ${ZPOOL} destroy ${name0}
39 expect_fl is_mountpoint /${name0}
40 expect_fl is_mountpoint /${name1}
42 expect_fl ${ZPOOL} create -o health=ONLINE ${name0} ${disk0}
43 expect_fl ${ZPOOL} destroy ${name0}
45 expect_fl ${ZPOOL} create -o guid=13949667482126165574 ${name0} ${disk0}
46 expect_fl ${ZPOOL} destroy ${name0}
48 expect_ok ${ZPOOL} create -o version=9 ${name0} ${disk0}
50 echo "NAME PROPERTY VALUE SOURCE"
51 echo "${name0} version 9 local"
53 expect "${exp}" ${ZPOOL} get version ${name0}
54 expect_ok ${ZPOOL} destroy ${name0}
56 expect_fl ${ZPOOL} create -o bootfs=${name0}/root ${name0} ${disk0}
57 expect_fl ${ZPOOL} destroy ${name0}
59 expect_ok ${ZPOOL} create -o delegation=off ${name0} ${disk0}
61 echo "NAME PROPERTY VALUE SOURCE"
62 echo "${name0} delegation off local"
64 expect "${exp}" ${ZPOOL} get delegation ${name0}
65 expect_ok ${ZPOOL} destroy ${name0}
67 expect_ok ${ZPOOL} create -o autoreplace=on ${name0} ${disk0}
69 echo "NAME PROPERTY VALUE SOURCE"
70 echo "${name0} autoreplace on local"
72 expect "${exp}" ${ZPOOL} get autoreplace ${name0}
73 expect_ok ${ZPOOL} destroy ${name0}
75 expect_ok ${ZPOOL} create -o cachefile=none ${name0} ${disk0}
77 echo "NAME PROPERTY VALUE SOURCE"
78 echo "${name0} cachefile none local"
80 expect "${exp}" ${ZPOOL} get cachefile ${name0}
81 expect_ok ${ZPOOL} destroy ${name0}
83 expect_ok ${ZPOOL} create -o cachefile=/tmp/${name1} ${name0} ${disk0}
85 echo "NAME PROPERTY VALUE SOURCE"
86 echo "${name0} cachefile /tmp/${name1} local"
88 expect "${exp}" ${ZPOOL} get cachefile ${name0}
89 expect_ok ${ZPOOL} destroy ${name0}
91 expect_ok ${ZPOOL} create -o failmode=continue ${name0} ${disk0}
93 echo "NAME PROPERTY VALUE SOURCE"
94 echo "${name0} failmode continue local"
96 expect "${exp}" ${ZPOOL} get failmode ${name0}
97 expect_ok ${ZPOOL} destroy ${name0}
99 expect_ok ${ZPOOL} create -o failmode=panic ${name0} ${disk0}
101 echo "NAME PROPERTY VALUE SOURCE"
102 echo "${name0} failmode panic local"
104 expect "${exp}" ${ZPOOL} get failmode ${name0}
105 expect_ok ${ZPOOL} destroy ${name0}