/freebsd/tools/regression/zfs/zpool/create/ |
H A D | option-f_type_mismatch.t | 12 expect_fl ${ZPOOL} create ${name0} ${disk0} ${file0} 13 expect_fl ${ZPOOL} status -x ${name0} 14 expect_fl ${ZPOOL} destroy ${name0} 16 expect_ok ${ZPOOL} create ${zpool_f_flag} ${name0} ${disk0} ${file0} 17 expect_ok ${ZPOOL} status -x ${name0} 18 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} [all …]
|
H A D | option-f_inuse.t | 11 expect_ok ${ZPOOL} create ${name0} ${disk0} 12 expect_ok ${ZPOOL} export ${name0} 18 expect "${exp}" ${ZPOOL} create ${name1} ${disk0} 19 expect_fl ${ZPOOL} status -x ${name1} 20 expect_ok ${ZPOOL} create -f ${name1} ${disk0} 21 expect_ok ${ZPOOL} status -x ${name1} 22 expect_ok ${ZPOOL} destroy ${name1} 24 expect_ok ${ZPOOL} create ${name0} mirror ${disk0} ${disk1} 25 expect_ok ${ZPOOL} export ${name0} 31 expect "${exp}" ${ZPOOL} create ${name1} mirror ${disk0} ${disk1} [all …]
|
H A D | option-f_replication_level_mismatch_1.t | 11 expect_fl ${ZPOOL} create ${name0} mirror ${disk0} ${disk1} mirror ${disk2} ${disk3} ${disk4} 12 expect_fl ${ZPOOL} status -x ${name0} 13 expect_fl ${ZPOOL} destroy ${name0} 15 expect_ok ${ZPOOL} create ${zpool_f_flag} ${name0} mirror ${disk0} ${disk1} mirror ${disk2} ${disk3… 16 expect_ok ${ZPOOL} status -x ${name0} 17 expect "pool '${name0}' is healthy" ${ZPOOL} status -x ${name0} 34 expect "${exp}" ${ZPOOL} status ${name0} 35 expect_ok ${ZPOOL} destroy ${name0} 36 expect_fl ${ZPOOL} status -x ${name0} 37 expect_fl ${ZPOOL} destroy ${name0} [all …]
|
H A D | option-f_size_mismatch.t | 16 expect_ok ${ZPOOL} create ${name0} ${disk0} ${disk1} 17 expect_ok ${ZPOOL} status -x ${name0} 18 expect_ok ${ZPOOL} destroy ${name0} 20 expect_ok ${ZPOOL} create ${name0} ${file0} ${file1} 21 expect_ok ${ZPOOL} status -x ${name0} 22 expect_ok ${ZPOOL} destroy ${name0} 24 expect_ok ${ZPOOL} create ${name0} mirror ${disk1} ${disk2} mirror ${disk0} ${disk5} 25 expect_ok ${ZPOOL} status -x ${name0} 26 expect_ok ${ZPOOL} destroy ${name0} 28 expect_ok ${ZPOOL} create ${name0} mirror ${file1} ${file2} mirror ${file0} ${file5} [all …]
|
H A D | option-f_replication_level_mismatch_0.t | 11 expect_fl ${ZPOOL} create ${name0} ${disk0} mirror ${disk1} ${disk2} 12 expect_fl ${ZPOOL} status -x ${name0} 13 expect_fl ${ZPOOL} destroy ${name0} 15 expect_ok ${ZPOOL} create ${zpool_f_flag} ${name0} ${disk0} mirror ${disk1} ${disk2} 16 expect_ok ${ZPOOL} status -x ${name0} 17 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} destroy ${name0} [all …]
|
H A D | files.t | 11 expect_ok ${ZPOOL} create ${name0} ${file0} 12 expect_ok ${ZPOOL} status -x ${name0} 13 expect "pool '${name0}' is healthy" ${ZPOOL} status -x ${name0} 24 expect "${exp}" ${ZPOOL} status ${name0} 25 expect_ok ${ZPOOL} destroy ${name0} 26 expect_fl ${ZPOOL} status -x ${name0} 27 expect_fl ${ZPOOL} destroy ${name0} 29 expect_ok ${ZPOOL} create ${name0} ${file0} ${file1} ${file2} ${file3} ${file4} 30 expect_ok ${ZPOOL} status -x ${name0} 31 expect "pool '${name0}' is healthy" ${ZPOOL} status -x ${name0} [all …]
|
H A D | log.t | 11 expect_ok ${ZPOOL} create ${name0} ${disk0} log ${disk1} 12 expect_ok ${ZPOOL} status -x ${name0} 13 expect "pool '${name0}' is healthy" ${ZPOOL} status -x ${name0} 26 expect "${exp}" ${ZPOOL} status ${name0} 27 expect_ok ${ZPOOL} destroy ${name0} 28 expect_fl ${ZPOOL} status -x ${name0} 29 expect_fl ${ZPOOL} destroy ${name0} 31 expect_ok ${ZPOOL} create ${name0} ${disk0} log mirror ${disk1} ${disk2} ${disk3} 32 expect_ok ${ZPOOL} status -x ${name0} 33 expect "pool '${name0}' is healthy" ${ZPOOL} status -x ${name0} [all …]
|
H A D | raidz1.t | 11 expect_fl ${ZPOOL} create ${name0} raidz ${disk0} 12 expect_fl ${ZPOOL} create ${name0} raidz1 ${disk0} 14 expect_ok ${ZPOOL} create ${name0} raidz ${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} raidz1 ${disk0} ${disk1} [all …]
|
H A D | option-o.t | 11 expect_fl ${ZPOOL} create -o size=96M ${name0} ${disk0} 12 expect_fl ${ZPOOL} destroy ${name0} 14 expect_fl ${ZPOOL} create -o used=0 ${name0} ${disk0} 15 expect_fl ${ZPOOL} destroy ${name0} 17 expect_fl ${ZPOOL} create -o available=96M ${name0} ${disk0} 18 expect_fl ${ZPOOL} destroy ${name0} 20 expect_fl ${ZPOOL} create -o capacity=0% ${name0} ${disk0} 21 expect_fl ${ZPOOL} destroy ${name0} 25 expect_ok ${ZPOOL} create -o altroot=/${name1} ${name0} ${disk0} 30 expect "${exp}" ${ZPOOL} get altroot ${name0} [all …]
|
H A D | cache.t | 11 expect_ok ${ZPOOL} create ${name0} ${disk0} cache ${disk1} 12 expect_ok ${ZPOOL} status -x ${name0} 13 expect "pool '${name0}' is healthy" ${ZPOOL} status -x ${name0} 26 expect "${exp}" ${ZPOOL} status ${name0} 27 expect_ok ${ZPOOL} destroy ${name0} 28 expect_fl ${ZPOOL} status -x ${name0} 29 expect_fl ${ZPOOL} destroy ${name0} 31 expect_ok ${ZPOOL} create ${name0} ${disk0} cache ${disk1} ${disk2} ${disk3} 32 expect_ok ${ZPOOL} status -x ${name0} 33 expect "pool '${name0}' is healthy" ${ZPOOL} status -x ${name0} [all …]
|
/freebsd/tools/regression/zfs/zpool/offline/ |
H A D | option-t.t | 11 expect_ok ${ZPOOL} create ${name0} mirror ${disk0} ${disk1} 12 expect_ok ${ZPOOL} offline ${name0} ${disk0} 30 expect "${exp}" ${ZPOOL} status ${name0} 31 expect_ok ${ZPOOL} export ${name0} 32 expect_ok ${ZPOOL} import ${import_flags} ${name0} 50 expect "${exp}" ${ZPOOL} status ${name0} 51 expect_ok ${ZPOOL} online ${name0} ${disk0} 52 expect_ok ${ZPOOL} destroy ${name0} 53 expect_fl ${ZPOOL} status -x ${name0} 55 expect_ok ${ZPOOL} create ${name0} mirror ${disk0} ${disk1} [all …]
|
H A D | log.t | 11 expect_ok ${ZPOOL} create ${name0} ${disk0} log mirror ${disk1} ${disk2} 12 expect_ok ${ZPOOL} offline ${name0} ${disk1} 32 expect "${exp}" ${ZPOOL} status ${name0} 33 expect_ok ${ZPOOL} online ${name0} ${disk1} 34 expect_ok ${ZPOOL} destroy ${name0} 35 expect_fl ${ZPOOL} status -x ${name0} 37 expect_ok ${ZPOOL} create ${name0} ${disk0} log mirror ${disk1} ${disk2} 38 expect_ok ${ZPOOL} offline ${name0} ${disk2} 58 expect "${exp}" ${ZPOOL} status ${name0} 59 expect_ok ${ZPOOL} online ${name0} ${disk2} [all …]
|
H A D | mirror.t | 11 expect_ok ${ZPOOL} create ${name0} mirror ${disk0} ${disk1} 12 expect_ok ${ZPOOL} offline ${name0} ${disk0} 30 expect "${exp}" ${ZPOOL} status ${name0} 31 expect_ok ${ZPOOL} destroy ${name0} 32 expect_fl ${ZPOOL} status -x ${name0} 34 expect_ok ${ZPOOL} create -f ${name0} mirror ${disk0} ${disk1} 35 expect_ok ${ZPOOL} offline ${name0} ${disk1} 53 expect "${exp}" ${ZPOOL} status ${name0} 54 expect_ok ${ZPOOL} destroy ${name0} 55 expect_fl ${ZPOOL} status -x ${name0} [all …]
|
H A D | raidz1.t | 11 expect_ok ${ZPOOL} create ${name0} raidz1 ${disk0} ${disk1} 12 expect_ok ${ZPOOL} offline ${name0} ${disk0} 30 expect "${exp}" ${ZPOOL} status ${name0} 31 expect_ok ${ZPOOL} destroy ${name0} 32 expect_fl ${ZPOOL} status -x ${name0} 34 expect_ok ${ZPOOL} create -f ${name0} raidz1 ${disk0} ${disk1} 35 expect_ok ${ZPOOL} offline ${name0} ${disk1} 53 expect "${exp}" ${ZPOOL} status ${name0} 54 expect_ok ${ZPOOL} destroy ${name0} 55 expect_fl ${ZPOOL} status -x ${name0} [all …]
|
/freebsd/tools/regression/zfs/zpool/add/ |
H A D | option-f_inuse.t | 11 expect_ok ${ZPOOL} create ${name0} ${disk0} 12 expect_ok ${ZPOOL} export ${name0} 13 expect_ok ${ZPOOL} create ${name1} ${disk1} 19 expect "${exp}" ${ZPOOL} add ${name1} ${disk0} 30 expect "${exp}" ${ZPOOL} status ${name1} 31 expect_ok ${ZPOOL} add -f ${name1} ${disk0} 43 expect "${exp}" ${ZPOOL} status ${name1} 44 expect_ok ${ZPOOL} destroy ${name1} 46 expect_ok ${ZPOOL} create ${name0} ${disk0} 47 expect_ok ${ZPOOL} export ${name0} [all …]
|
H A D | option-f_replication_level_mismatch_1.t | 11 expect_ok ${ZPOOL} create ${name0} mirror ${disk0} ${disk1} 12 expect_fl ${ZPOOL} add ${name0} mirror ${disk2} ${disk3} ${disk4} 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} mirror ${disk0} ${disk1} 30 expect_ok ${ZPOOL} add -f ${name0} mirror ${disk2} ${disk3} ${disk4} 47 expect "${exp}" ${ZPOOL} status ${name0} 48 expect_ok ${ZPOOL} destroy ${name0} 49 expect_fl ${ZPOOL} status -x ${name0} [all …]
|
H A D | option-f_type_mismatch.t | 12 expect_ok ${ZPOOL} create ${name0} ${disk0} 13 expect_fl ${ZPOOL} add ${name0} ${file0} 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} ${file0} 41 expect "${exp}" ${ZPOOL} status ${name0} 42 expect_ok ${ZPOOL} destroy ${name0} 43 expect_fl ${ZPOOL} status -x ${name0} [all …]
|
H A D | option-f_size_mismatch.t | 14 expect_ok ${ZPOOL} create ${name0} mirror ${disk0} ${disk1} 15 expect_fl ${ZPOOL} add ${name0} mirror ${disk7} ${disk2} 28 expect "${exp}" ${ZPOOL} status ${name0} 29 expect_ok ${ZPOOL} destroy ${name0} 30 expect_fl ${ZPOOL} status -x ${name0} 32 expect_ok ${ZPOOL} create ${name0} mirror ${disk0} ${disk1} 33 expect_ok ${ZPOOL} add -f ${name0} mirror ${disk7} ${disk2} 49 expect "${exp}" ${ZPOOL} status ${name0} 50 expect_ok ${ZPOOL} destroy ${name0} 51 expect_fl ${ZPOOL} status -x ${name0} [all …]
|
H A D | log.t | 11 expect_ok ${ZPOOL} create ${name0} ${disk0} 12 expect_ok ${ZPOOL} add ${name0} log ${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} 30 expect_ok ${ZPOOL} add ${name0} log mirror ${disk1} ${disk2} ${disk3} 46 expect "${exp}" ${ZPOOL} status ${name0} 47 expect_ok ${ZPOOL} destroy ${name0} 48 expect_fl ${ZPOOL} status -x ${name0} [all …]
|
H A D | files.t | 11 expect_ok ${ZPOOL} create ${name0} ${file0} 12 expect_fl ${ZPOOL} add ${name0} ${file0} 23 expect_ok ${ZPOOL} destroy ${name0} 24 expect_fl ${ZPOOL} status -x ${name0} 26 expect_ok ${ZPOOL} create ${name0} ${file0} ${file1} 27 expect_fl ${ZPOOL} add ${name0} ${file0} 28 expect_fl ${ZPOOL} add ${name0} ${file1} 39 expect_ok ${ZPOOL} destroy ${name0} 40 expect_fl ${ZPOOL} status -x ${name0} 42 expect_ok ${ZPOOL} create ${name0} ${file0} [all …]
|
H A D | option-f_replication_level_mismatch_0.t | 11 expect_ok ${ZPOOL} create ${name0} ${disk0} 12 expect_fl ${ZPOOL} add ${name0} mirror ${disk1} ${disk2} 23 expect "${exp}" ${ZPOOL} status ${name0} 24 expect_ok ${ZPOOL} destroy ${name0} 25 expect_fl ${ZPOOL} status -x ${name0} 27 expect_ok ${ZPOOL} create ${name0} ${disk0} 28 expect_ok ${ZPOOL} add -f ${name0} mirror ${disk1} ${disk2} 42 expect "${exp}" ${ZPOOL} status ${name0} 43 expect_ok ${ZPOOL} destroy ${name0} 44 expect_fl ${ZPOOL} status -x ${name0} [all …]
|
H A D | cache.t | 11 expect_ok ${ZPOOL} create ${name0} ${disk0} 12 expect_fl ${ZPOOL} add ${name0} cache ${disk0} 13 expect_ok ${ZPOOL} destroy ${name0} 14 expect_fl ${ZPOOL} status -x ${name0} 16 expect_ok ${ZPOOL} create ${name0} ${disk0} cache ${disk1} 17 expect_fl ${ZPOOL} add ${name0} cache ${disk1} 18 expect_ok ${ZPOOL} destroy ${name0} 19 expect_fl ${ZPOOL} status -x ${name0} 21 expect_ok ${ZPOOL} create ${name0} ${disk0} 22 expect_ok ${ZPOOL} add ${name0} cache ${disk1} [all …]
|
/freebsd/tools/regression/zfs/zpool/attach/ |
H A D | option-f_inuse.t | 11 expect_ok ${ZPOOL} create ${name0} ${disk0} 12 expect_ok ${ZPOOL} export ${name0} 13 expect_ok ${ZPOOL} create ${name1} ${disk1} 19 expect "${exp}" ${ZPOOL} attach ${name1} ${disk1} ${disk0} 30 expect "${exp}" ${ZPOOL} status ${name1} 31 expect_ok ${ZPOOL} attach -f ${name1} ${disk1} ${disk0} 45 expect "${exp}" ${ZPOOL} status ${name1} 46 expect_ok ${ZPOOL} destroy ${name1} 48 expect_ok ${ZPOOL} create ${name0} ${disk0} 49 expect_ok ${ZPOOL} export ${name0} [all …]
|
H A D | mirror.t | 11 expect_ok ${ZPOOL} create ${name0} ${disk0} 12 expect_ok ${ZPOOL} attach ${name0} ${disk0} ${disk1} 26 expect "${exp}" ${ZPOOL} status ${name0} 27 expect_ok ${ZPOOL} attach ${name0} ${disk0} ${disk2} 42 expect "${exp}" ${ZPOOL} status ${name0} 43 expect_ok ${ZPOOL} attach ${name0} ${disk2} ${disk3} 59 expect "${exp}" ${ZPOOL} status ${name0} 60 expect_ok ${ZPOOL} detach ${name0} ${disk0} 74 expect "${exp}" ${ZPOOL} status ${name0} 75 expect_ok ${ZPOOL} detach ${name0} ${disk2} [all …]
|
/freebsd/tools/regression/zfs/zpool/replace/ |
H A D | raidz2.t | 11 expect_ok ${ZPOOL} create ${name0} raidz2 ${disk0} ${disk1} ${disk2} ${disk3} 12 expect_ok ${ZPOOL} export ${name0} 18 expect_ok ${ZPOOL} import ${import_flags} ${name0} 38 expect "${exp}" ${ZPOOL} status ${name0} 39 expect_ok ${ZPOOL} replace ${name0} ${disk0} ${disk4} 55 expect "${exp}" ${ZPOOL} status ${name0} 56 expect_ok ${ZPOOL} destroy ${name0} 57 expect_fl ${ZPOOL} status -x ${name0} 59 expect_ok ${ZPOOL} create ${name0} raidz2 ${disk0} ${disk1} ${disk2} ${disk3} 60 expect_ok ${ZPOOL} replace ${name0} ${disk1} ${disk4} [all …]
|