Searched refs:ZPOOL (Results 1 - 25 of 347) sorted by relevance

1234567891011>>

/freebsd-13-stable/tests/sys/cddl/zfs/tests/cli_root/zpool/
H A Dzpool_003_pos.ksh62 log_must $ZPOOL -? > /dev/null 2>&1
65 log_must $ZPOOL freeze $TESTPOOL
67 log_mustnot $ZPOOL freeze $TESTPOOL
68 log_mustnot $ZPOOL freeze ${TESTPOOL%%/*}
71 log_mustnot $ZPOOL freeze fakepool
74 $ZPOOL > /dev/null 2>&1
80 log_fail "$ZPOOL not dump core by request."
/freebsd-13-stable/tools/regression/zfs/zpool/create/
H A Doption-f_type_mismatch.t13 expect_fl ${ZPOOL} create ${name0} ${disk0} ${file0}
14 expect_fl ${ZPOOL} status -x ${name0}
15 expect_fl ${ZPOOL} destroy ${name0}
17 expect_ok ${ZPOOL} create ${zpool_f_flag} ${name0} ${disk0} ${file0}
18 expect_ok ${ZPOOL} status -x ${name0}
19 expect "pool '${name0}' is healthy" ${ZPOOL} status -x ${name0}
31 expect "${exp}" ${ZPOOL} status ${name0}
32 expect_ok ${ZPOOL} destroy ${name0}
33 expect_fl ${ZPOOL} status -x ${name0}
34 expect_fl ${ZPOOL} destro
[all...]
H A Draidz1.t12 expect_fl ${ZPOOL} create ${name0} raidz ${disk0}
13 expect_fl ${ZPOOL} create ${name0} raidz1 ${disk0}
15 expect_ok ${ZPOOL} create ${name0} raidz ${disk0} ${disk1}
16 expect_ok ${ZPOOL} status -x ${name0}
17 expect "pool '${name0}' is healthy" ${ZPOOL} status -x ${name0}
30 expect "${exp}" ${ZPOOL} status ${name0}
31 expect_ok ${ZPOOL} destroy ${name0}
32 expect_fl ${ZPOOL} status -x ${name0}
33 expect_fl ${ZPOOL} destroy ${name0}
35 expect_ok ${ZPOOL} creat
[all...]
H A Doption-f_inuse.t12 expect_ok ${ZPOOL} create ${name0} ${disk0}
13 expect_ok ${ZPOOL} export ${name0}
19 expect "${exp}" ${ZPOOL} create ${name1} ${disk0}
20 expect_fl ${ZPOOL} status -x ${name1}
21 expect_ok ${ZPOOL} create -f ${name1} ${disk0}
22 expect_ok ${ZPOOL} status -x ${name1}
23 expect_ok ${ZPOOL} destroy ${name1}
25 expect_ok ${ZPOOL} create ${name0} mirror ${disk0} ${disk1}
26 expect_ok ${ZPOOL} export ${name0}
32 expect "${exp}" ${ZPOOL} creat
[all...]
H A Dcache.t12 expect_ok ${ZPOOL} create ${name0} ${disk0} cache ${disk1}
13 expect_ok ${ZPOOL} status -x ${name0}
14 expect "pool '${name0}' is healthy" ${ZPOOL} status -x ${name0}
27 expect "${exp}" ${ZPOOL} status ${name0}
28 expect_ok ${ZPOOL} destroy ${name0}
29 expect_fl ${ZPOOL} status -x ${name0}
30 expect_fl ${ZPOOL} destroy ${name0}
32 expect_ok ${ZPOOL} create ${name0} ${disk0} cache ${disk1} ${disk2} ${disk3}
33 expect_ok ${ZPOOL} status -x ${name0}
34 expect "pool '${name0}' is healthy" ${ZPOOL} statu
[all...]
H A Doption-f_replication_level_mismatch_1.t12 expect_fl ${ZPOOL} create ${name0} mirror ${disk0} ${disk1} mirror ${disk2} ${disk3} ${disk4}
13 expect_fl ${ZPOOL} status -x ${name0}
14 expect_fl ${ZPOOL} destroy ${name0}
16 expect_ok ${ZPOOL} create ${zpool_f_flag} ${name0} mirror ${disk0} ${disk1} mirror ${disk2} ${disk3} ${disk4}
17 expect_ok ${ZPOOL} status -x ${name0}
18 expect "pool '${name0}' is healthy" ${ZPOOL} status -x ${name0}
35 expect "${exp}" ${ZPOOL} status ${name0}
36 expect_ok ${ZPOOL} destroy ${name0}
37 expect_fl ${ZPOOL} status -x ${name0}
38 expect_fl ${ZPOOL} destro
[all...]
H A Dmirror.t12 expect_fl ${ZPOOL} create ${name0} mirror ${disk0}
14 expect_ok ${ZPOOL} create ${name0} mirror ${disk0} ${disk1}
15 expect_ok ${ZPOOL} status -x ${name0}
16 expect "pool '${name0}' is healthy" ${ZPOOL} status -x ${name0}
29 expect "${exp}" ${ZPOOL} status ${name0}
30 expect_ok ${ZPOOL} destroy ${name0}
31 expect_fl ${ZPOOL} status -x ${name0}
32 expect_fl ${ZPOOL} destroy ${name0}
34 expect_ok ${ZPOOL} create ${name0} mirror ${disk0} ${disk1} ${disk2} ${disk3} ${disk4}
35 expect_ok ${ZPOOL} statu
[all...]
H A Dfiles.t12 expect_ok ${ZPOOL} create ${name0} ${file0}
13 expect_ok ${ZPOOL} status -x ${name0}
14 expect "pool '${name0}' is healthy" ${ZPOOL} status -x ${name0}
25 expect "${exp}" ${ZPOOL} status ${name0}
26 expect_ok ${ZPOOL} destroy ${name0}
27 expect_fl ${ZPOOL} status -x ${name0}
28 expect_fl ${ZPOOL} destroy ${name0}
30 expect_ok ${ZPOOL} create ${name0} ${file0} ${file1} ${file2} ${file3} ${file4}
31 expect_ok ${ZPOOL} status -x ${name0}
32 expect "pool '${name0}' is healthy" ${ZPOOL} statu
[all...]
H A Ddisks.t12 expect_ok ${ZPOOL} create ${name0} ${disk0}
13 expect_ok ${ZPOOL} status -x ${name0}
14 expect "pool '${name0}' is healthy" ${ZPOOL} status -x ${name0}
25 expect "${exp}" ${ZPOOL} status ${name0}
26 expect_ok ${ZPOOL} destroy ${name0}
27 expect_fl ${ZPOOL} status -x ${name0}
28 expect_fl ${ZPOOL} destroy ${name0}
30 expect_ok ${ZPOOL} create ${name0} ${disk0} ${disk1} ${disk2} ${disk3} ${disk4}
31 expect_ok ${ZPOOL} status -x ${name0}
32 expect "pool '${name0}' is healthy" ${ZPOOL} statu
[all...]
H A Dlog.t12 expect_ok ${ZPOOL} create ${name0} ${disk0} log ${disk1}
13 expect_ok ${ZPOOL} status -x ${name0}
14 expect "pool '${name0}' is healthy" ${ZPOOL} status -x ${name0}
27 expect "${exp}" ${ZPOOL} status ${name0}
28 expect_ok ${ZPOOL} destroy ${name0}
29 expect_fl ${ZPOOL} status -x ${name0}
30 expect_fl ${ZPOOL} destroy ${name0}
32 expect_ok ${ZPOOL} create ${name0} ${disk0} log mirror ${disk1} ${disk2} ${disk3}
33 expect_ok ${ZPOOL} status -x ${name0}
34 expect "pool '${name0}' is healthy" ${ZPOOL} statu
[all...]
H A Dalready_exists.t12 expect_ok ${ZPOOL} create ${name0} ${disk0}
23 expect "${exp}" ${ZPOOL} status ${name0}
24 expect_fl ${ZPOOL} create ${name0} ${disk1}
25 expect "${exp}" ${ZPOOL} status ${name0}
26 expect_ok ${ZPOOL} destroy ${name0}
/freebsd-13-stable/tools/regression/zfs/zpool/offline/
H A Dlog.t12 expect_ok ${ZPOOL} create ${name0} ${disk0} log mirror ${disk1} ${disk2}
13 expect_ok ${ZPOOL} offline ${name0} ${disk1}
33 expect "${exp}" ${ZPOOL} status ${name0}
34 expect_ok ${ZPOOL} online ${name0} ${disk1}
35 expect_ok ${ZPOOL} destroy ${name0}
36 expect_fl ${ZPOOL} status -x ${name0}
38 expect_ok ${ZPOOL} create ${name0} ${disk0} log mirror ${disk1} ${disk2}
39 expect_ok ${ZPOOL} offline ${name0} ${disk2}
59 expect "${exp}" ${ZPOOL} status ${name0}
60 expect_ok ${ZPOOL} onlin
[all...]
H A Draidz1.t12 expect_ok ${ZPOOL} create ${name0} raidz1 ${disk0} ${disk1}
13 expect_ok ${ZPOOL} offline ${name0} ${disk0}
31 expect "${exp}" ${ZPOOL} status ${name0}
32 expect_ok ${ZPOOL} destroy ${name0}
33 expect_fl ${ZPOOL} status -x ${name0}
35 expect_ok ${ZPOOL} create -f ${name0} raidz1 ${disk0} ${disk1}
36 expect_ok ${ZPOOL} offline ${name0} ${disk1}
54 expect "${exp}" ${ZPOOL} status ${name0}
55 expect_ok ${ZPOOL} destroy ${name0}
56 expect_fl ${ZPOOL} statu
[all...]
H A Doption-t.t12 expect_ok ${ZPOOL} create ${name0} mirror ${disk0} ${disk1}
13 expect_ok ${ZPOOL} offline ${name0} ${disk0}
31 expect "${exp}" ${ZPOOL} status ${name0}
32 expect_ok ${ZPOOL} export ${name0}
33 expect_ok ${ZPOOL} import ${import_flags} ${name0}
51 expect "${exp}" ${ZPOOL} status ${name0}
52 expect_ok ${ZPOOL} online ${name0} ${disk0}
53 expect_ok ${ZPOOL} destroy ${name0}
54 expect_fl ${ZPOOL} status -x ${name0}
56 expect_ok ${ZPOOL} creat
[all...]
/freebsd-13-stable/tests/sys/cddl/zfs/tests/cli_root/zpool_scrub/
H A Dzpool_scrub_005_pos.ksh62 log_must $ZPOOL scrub $TESTPOOL
63 log_must $ZPOOL detach $TESTPOOL $DISK2
64 log_must $ZPOOL attach $TESTPOOL $DISK1 $DISK2
73 log_must $ZPOOL scrub $TESTPOOL
74 log_must $ZPOOL detach $TESTPOOL $DISK1
75 log_must $ZPOOL attach $TESTPOOL $DISK2 $DISK1
/freebsd-13-stable/tools/regression/zfs/zpool/add/
H A Ddoesnt_exist.t12 expect_fl ${ZPOOL} add ${name0} ${disk0}
13 expect_fl ${ZPOOL} status -x ${name0}
14 expect_fl ${ZPOOL} destroy ${name0}
16 expect_fl ${ZPOOL} add -f ${name0} ${disk0}
17 expect_fl ${ZPOOL} status -x ${name0}
18 expect_fl ${ZPOOL} destroy ${name0}
H A Dcache.t12 expect_ok ${ZPOOL} create ${name0} ${disk0}
13 expect_fl ${ZPOOL} add ${name0} cache ${disk0}
14 expect_ok ${ZPOOL} destroy ${name0}
15 expect_fl ${ZPOOL} status -x ${name0}
17 expect_ok ${ZPOOL} create ${name0} ${disk0} cache ${disk1}
18 expect_fl ${ZPOOL} add ${name0} cache ${disk1}
19 expect_ok ${ZPOOL} destroy ${name0}
20 expect_fl ${ZPOOL} status -x ${name0}
22 expect_ok ${ZPOOL} create ${name0} ${disk0}
23 expect_ok ${ZPOOL} ad
[all...]
H A Dspare.t12 expect_ok ${ZPOOL} create ${name0} ${disk0}
13 expect_ok ${ZPOOL} add ${name0} spare ${disk1}
26 expect "${exp}" ${ZPOOL} status ${name0}
27 expect_ok ${ZPOOL} destroy ${name0}
28 expect_fl ${ZPOOL} status -x ${name0}
30 expect_ok ${ZPOOL} create ${name0} mirror ${disk0} ${disk1}
31 expect_ok ${ZPOOL} add ${name0} spare ${disk2} ${disk3}
47 expect "${exp}" ${ZPOOL} status ${name0}
48 expect_ok ${ZPOOL} destroy ${name0}
49 expect_fl ${ZPOOL} statu
[all...]
H A Doption-f_replication_level_mismatch_0.t12 expect_ok ${ZPOOL} create ${name0} ${disk0}
13 expect_fl ${ZPOOL} add ${name0} mirror ${disk1} ${disk2}
24 expect "${exp}" ${ZPOOL} status ${name0}
25 expect_ok ${ZPOOL} destroy ${name0}
26 expect_fl ${ZPOOL} status -x ${name0}
28 expect_ok ${ZPOOL} create ${name0} ${disk0}
29 expect_ok ${ZPOOL} add -f ${name0} mirror ${disk1} ${disk2}
43 expect "${exp}" ${ZPOOL} status ${name0}
44 expect_ok ${ZPOOL} destroy ${name0}
45 expect_fl ${ZPOOL} statu
[all...]
/freebsd-13-stable/tests/sys/cddl/zfs/tests/cli_root/zpool_import/
H A Dzpool_import_014_pos.ksh60 log_must $ZPOOL create $TESTPOOL ${DISKS[0]}
61 log_must $ZPOOL destroy $TESTPOOL
62 log_mustnot $ZPOOL import $TESTPOOL
63 log_must $ZPOOL import -D $TESTPOOL
H A Dzpool_import_destroyed_001_neg.ksh51 log_must $ZPOOL create -f $TESTPOOL mirror ${DISK0} ${DISK1}
54 log_must $ZPOOL offline $TESTPOOL ${DISK0}
57 log_must $ZPOOL attach $TESTPOOL ${DISK1} ${DISK2}
61 log_must $ZPOOL destroy $TESTPOOL
64 log_mustnot $ZPOOL import $TESTPOOL
H A Dzpool_import_destroyed_002_neg.ksh44 log_must $ZPOOL create -f $TESTPOOL mirror ${DISK0} ${DISK1}
47 log_must $ZPOOL offline $TESTPOOL ${DISK0}
51 log_must $ZPOOL destroy $TESTPOOL
54 if $ZPOOL import | $GREP -q $TESTPOOL; then
55 $ZPOOL import
/freebsd-13-stable/tools/regression/zfs/zpool/attach/
H A Doption-f_inuse.t12 expect_ok ${ZPOOL} create ${name0} ${disk0}
13 expect_ok ${ZPOOL} export ${name0}
14 expect_ok ${ZPOOL} create ${name1} ${disk1}
20 expect "${exp}" ${ZPOOL} attach ${name1} ${disk1} ${disk0}
31 expect "${exp}" ${ZPOOL} status ${name1}
32 expect_ok ${ZPOOL} attach -f ${name1} ${disk1} ${disk0}
46 expect "${exp}" ${ZPOOL} status ${name1}
47 expect_ok ${ZPOOL} destroy ${name1}
49 expect_ok ${ZPOOL} create ${name0} ${disk0}
50 expect_ok ${ZPOOL} expor
[all...]
/freebsd-13-stable/tests/sys/cddl/zfs/tests/cli_user/misc/
H A Dzpool_history_001_neg.ksh63 log_mustnot run_unprivileged "$ZPOOL history"
64 log_mustnot run_unprivileged "$ZPOOL history $TESTPOOL"
65 log_mustnot run_unprivileged "$ZPOOL history -i $TESTPOOL"
66 log_mustnot run_unprivileged "$ZPOOL history -l $TESTPOOL"
67 log_mustnot run_unprivileged "$ZPOOL history -il $TESTPOOL"
/freebsd-13-stable/tools/regression/zfs/zpool/replace/
H A Ddisk.t12 expect_ok ${ZPOOL} create ${name0} ${disk0}
13 expect_ok ${ZPOOL} replace ${name0} ${disk0} ${disk1}
25 expect "${exp}" ${ZPOOL} status ${name0}
26 expect_ok ${ZPOOL} destroy ${name0}
27 expect_fl ${ZPOOL} status -x ${name0}
29 expect_ok ${ZPOOL} create ${name0} ${disk0} ${disk1} ${disk2}
30 expect_ok ${ZPOOL} replace ${name0} ${disk1} ${disk3}
44 expect "${exp}" ${ZPOOL} status ${name0}
45 expect_ok ${ZPOOL} destroy ${name0}
46 expect_fl ${ZPOOL} statu
[all...]

Completed in 114 milliseconds

1234567891011>>