Searched refs:TESTPOOL2 (Results 1 - 25 of 66) sorted by relevance

123

/freebsd-13-stable/sys/contrib/openzfs/tests/zfs-tests/tests/functional/cli_root/zfs_destroy/
H A Dzfs_destroy_dev_removal.ksh33 poolexists $TESTPOOL2 && zpool destroy $TESTPOOL2
45 log_must zpool create $TESTPOOL2 $VIRTUAL_DISK1
46 log_must poolexists $TESTPOOL2
48 log_must zfs create $TESTPOOL2/$TESTFS
49 log_must mkfile 25m /$TESTPOOL2/$TESTFS/atestfile
50 log_must zfs snapshot $TESTPOOL2/$TESTFS@snap
52 log_must zfs clone $TESTPOOL2/$TESTFS@snap $TESTPOOL2/$TESTCLONE
54 log_must mkfile 1m /$TESTPOOL2/
[all...]
H A Dzfs_destroy_dev_removal_condense.ksh39 poolexists $TESTPOOL2 && zpool destroy $TESTPOOL2
56 log_must zpool create $TESTPOOL2 $VIRTUAL_DISK1
57 log_must poolexists $TESTPOOL2
59 log_must zfs create $TESTPOOL2/$TESTFS
60 log_must mkfile 100m /$TESTPOOL2/$TESTFS/atestfile
61 log_must zfs snapshot $TESTPOOL2/$TESTFS@snap
63 log_must zfs clone $TESTPOOL2/$TESTFS@snap $TESTPOOL2/$TESTCLONE
66 log_must mkfile 10m /$TESTPOOL2/
[all...]
/freebsd-13-stable/sys/contrib/openzfs/tests/zfs-tests/tests/functional/poolversion/
H A Dpoolversion_002_pos.ksh49 log_must zpool set version=6 $TESTPOOL2
53 VERSION=$(zpool get version $TESTPOOL2| grep version | awk '{print $3}')
56 log_fail "Version $VERSION set for $TESTPOOL2 expected version 6!"
58 log_must zpool set bootfs=$TESTPOOL2 $TESTPOOL2
61 log_mustnot zpool set version=5 $TESTPOOL2
62 log_mustnot zpool set version=-1 $TESTPOOL2
65 VERSION=$(zpool get version $TESTPOOL2 | grep version | awk '{print $3}')
68 log_fail "Version $VERSION set for $TESTPOOL2, expected version 6!"
/freebsd-13-stable/tests/sys/cddl/zfs/tests/poolversion/
H A Dpoolversion_002_pos.ksh63 log_must $ZPOOL set version=6 $TESTPOOL2
67 VERSION=$($ZPOOL get version $TESTPOOL2| $GREP version | $AWK '{print $3}')
70 log_fail "Version $VERSION set for $TESTPOOL2 expected version 6!"
72 log_must $ZPOOL set bootfs=$TESTPOOL2 $TESTPOOL2
75 log_mustnot $ZPOOL set version=5 $TESTPOOL2
76 log_mustnot $ZPOOL set version=-1 $TESTPOOL2
79 VERSION=$($ZPOOL get version $TESTPOOL2 | $GREP version | $AWK '{print $3}')
82 log_fail "Version $VERSION set for $TESTPOOL2, expected version 6!"
H A Dcleanup.ksh43 destroy_pool $TESTPOOL2
/freebsd-13-stable/sys/contrib/openzfs/tests/zfs-tests/tests/functional/cli_root/zpool_scrub/
H A Dzpool_scrub_offline_device.ksh52 poolexists $TESTPOOL2 && destroy_pool $TESTPOOL2
106 poolexists $TESTPOOL2 && destroy_pool $TESTPOOL2
107 log_must zpool create -O mountpoint=$TESTDIR $TESTPOOL2 \
111 zpool_do_sync 'offline' $TESTPOOL2 $DISK1
117 zpool_scrub_sync $TESTPOOL2
120 zpool_do_sync 'online' $TESTPOOL2 $DISK1
121 zpool_do_sync 'offline' $TESTPOOL2 $DISK2
122 log_must wait_for_resilver_end $TESTPOOL2
[all...]
/freebsd-13-stable/sys/contrib/openzfs/tests/zfs-tests/tests/functional/cli_root/zfs_mount/
H A Dzfs_mount_test_race.ksh47 TESTPOOL2=zfs_mount_test_race_tp2
49 export __ZFS_POOL_RESTRICT="$TESTPOOL1 $TESTPOOL2"
56 zpool destroy $TESTPOOL2
59 rm -rf /$TESTPOOL2
62 export __ZFS_POOL_RESTRICT="$TESTPOOL1 $TESTPOOL2"
74 log_must zpool create -f $TESTPOOL2 $DISK2
77 log_must zfs create $TESTPOOL2/$TESTFS2
85 log_must zfs set canmount=off $TESTPOOL2
86 log_must zfs set mountpoint=$MNTPT $TESTPOOL2
100 # /$TESTPOOL2 n
[all...]
/freebsd-13-stable/sys/contrib/openzfs/tests/zfs-tests/tests/functional/cli_root/zpool_split/
H A Dzpool_split_props.ksh36 destroy_pool $TESTPOOL2
57 typeset bad_props=("bootfs=$TESTPOOL2/bootfs" 'version=28' 'ashift=4'
77 log_must zpool split -o $prop $TESTPOOL $TESTPOOL2
78 log_must zpool import -N -d $TEST_BASE_DIR $TESTPOOL2
79 log_must test "$(get_pool_prop $propname $TESTPOOL2)" == "$propval"
82 destroy_pool $TESTPOOL2
91 log_mustnot zpool split -o $prop $TESTPOOL $TESTPOOL2
92 log_mustnot zpool import -N -d $TEST_BASE_DIR $TESTPOOL2
H A Dzpool_split_encryption.ksh34 destroy_pool $TESTPOOL2
54 "$TESTPOOL $TESTPOOL2"
55 log_must test "$(get_prop 'encryption' $TESTPOOL2)" == "aes-256-ccm"
56 log_must test "$(get_pool_prop 'altroot' $TESTPOOL2)" == "$altroot"
57 log_must mounted $altroot/$TESTPOOL2
H A Dzpool_split_wholedisk.ksh45 destroy_pool $TESTPOOL2
64 ALTROOT="$TEST_BASE_DIR/altroot-$TESTPOOL2"
70 log_must zpool split -R "$ALTROOT" $TESTPOOL $TESTPOOL2 $DISK_DEVICE
72 log_must check_vdev_state $TESTPOOL2 $DISK_DEVICE "ONLINE"
76 destroy_pool $TESTPOOL2
80 log_must zpool split -R "$ALTROOT" $TESTPOOL $TESTPOOL2 $FILE_DEVICE
82 log_must check_vdev_state $TESTPOOL2 $FILE_DEVICE "ONLINE"
H A Dzpool_split_devices.ksh35 destroy_pool $TESTPOOL2
50 typeset altroot="$TESTDIR/altroot-$TESTPOOL2"
90 log_mustnot zpool split $TESTPOOL $TESTPOOL2 ${baddevs[$i]}
91 log_must zpool split -R $altroot $TESTPOOL $TESTPOOL2 ${gooddevs[$i]}
93 log_must poolexists $TESTPOOL2
95 log_must check_vdev_state $TESTPOOL2 $filedev "ONLINE"
H A Dzpool_split_indirect.ksh43 if poolexists $TESTPOOL2 ; then
44 destroy_pool $TESTPOOL2
55 typeset altroot="$TESTDIR/altroot-$TESTPOOL2"
65 log_must zpool split -R $altroot $TESTPOOL $TESTPOOL2
66 log_must poolexists $TESTPOOL2
67 log_must test "$(get_pool_prop 'altroot' $TESTPOOL2)" == "$altroot"
/freebsd-13-stable/tests/sys/cddl/zfs/tests/cachefile/
H A Dcachefile_004_pos.ksh69 destroy_pool $TESTPOOL2
105 log_must $ZPOOL create -o cachefile=$CPATH1 $TESTPOOL2 $vdev1
106 log_must pool_in_cache $TESTPOOL2 $CPATH1
110 log_must $ZPOOL set cachefile=$CPATH2 $TESTPOOL2
111 log_must pool_in_cache $TESTPOOL2 $CPATH2
117 log_must $ZPOOL export $TESTPOOL2
125 log_must $ZPOOL import -d $mntpnt $TESTPOOL2
126 log_must $ZPOOL set cachefile=$CPATH2 $TESTPOOL2
127 log_must pool_in_cache $TESTPOOL2 $CPATH2
130 log_must $ZPOOL destroy $TESTPOOL2
[all...]
/freebsd-13-stable/sys/contrib/openzfs/tests/zfs-tests/tests/functional/pool_checkpoint/
H A Dcheckpoint_sm_scale.ksh61 TESTPOOL2=testpool2
69 poolexists $TESTPOOL2 && destroy_pool $TESTPOOL2
86 log_must zpool create -d $TESTPOOL2 $DISK65PB
87 log_must zpool set feature@zpool_checkpoint=enabled $TESTPOOL2
88 log_mustnot zpool checkpoint $TESTPOOL2
89 destroy_pool $TESTPOOL2
/freebsd-13-stable/sys/contrib/openzfs/tests/zfs-tests/tests/functional/cli_root/zpool_resilver/
H A Dzpool_resilver_bad_args.ksh52 log_must destroy_pool $TESTPOOL2
68 log_must zpool create -d $TESTPOOL2 $TEST_BASE_DIR/zpool_resilver.dat
69 log_mustnot zpool resilver $TESTPOOL2
/freebsd-13-stable/tests/sys/cddl/zfs/tests/cli_root/zpool_destroy/
H A Dzpool_destroy_001_pos.ksh61 destroy_pool $TESTPOOL2
67 set -A datasets "$TESTPOOL" "$TESTPOOL2"
78 create_pool "$TESTPOOL2" "/dev/zvol/$TESTPOOL1/$TESTVOL"
/freebsd-13-stable/sys/contrib/openzfs/tests/zfs-tests/tests/functional/cache/
H A Dcleanup.ksh40 if datasetexists $TESTPOOL2 ; then
41 log_must zpool destroy -f $TESTPOOL2
/freebsd-13-stable/sys/contrib/openzfs/tests/zfs-tests/tests/functional/slog/
H A Dcleanup.ksh44 if datasetexists $TESTPOOL2 ; then
45 log_must zpool destroy -f $TESTPOOL2
/freebsd-13-stable/tests/sys/cddl/zfs/tests/slog/
H A Dcleanup.ksh39 if datasetexists $TESTPOOL2 ; then
40 log_must $ZPOOL destroy -f $TESTPOOL2
/freebsd-13-stable/sys/contrib/openzfs/tests/zfs-tests/tests/functional/cachefile/
H A Dcachefile_004_pos.ksh56 poolexists $TESTPOOL2 && destroy_pool $TESTPOOL2
94 log_must zpool create -o cachefile=$CPATH1 $TESTPOOL2 $vdev1
95 log_must pool_in_cache $TESTPOOL2 $CPATH1
99 log_must zpool set cachefile=$CPATH2 $TESTPOOL2
100 log_must pool_in_cache $TESTPOOL2 $CPATH2
106 log_must zpool export $TESTPOOL2
114 log_must zpool import -d $mntpnt $TESTPOOL2
115 log_must zpool set cachefile=$CPATH2 $TESTPOOL2
116 log_must pool_in_cache $TESTPOOL2
[all...]
/freebsd-13-stable/sys/contrib/openzfs/tests/zfs-tests/tests/functional/largest_pool/
H A Dlargest_pool_001_pos.ksh99 datasetexists $TESTPOOL2/$TESTVOL && \
100 log_must zfs destroy $TESTPOOL2/$TESTVOL
102 destroy_pool $TESTPOOL2
123 create_pool $TESTPOOL2 "$DISKS"
126 str=$(zfs create -sV $volsize $TESTPOOL2/$TESTVOL 2>&1)
137 log_fail "zfs create -sV $volsize $TESTPOOL2/$TESTVOL"
157 log_must zfs destroy $TESTPOOL2/$TESTVOL
158 destroy_pool $TESTPOOL2
/freebsd-13-stable/sys/contrib/openzfs/tests/zfs-tests/tests/functional/procfs/
H A Dpool_state.ksh48 if [ -n "$TESTPOOL2" ] ; then
64 if poolexists $TESTPOOL2 ; then
67 log_must zpool clear $TESTPOOL2
73 destroy_pool $TESTPOOL2
116 TESTPOOL2=testpool2
129 log_must zpool create $TESTPOOL2 $REALDISK
143 zpool scrub $TESTPOOL2 &
146 log_must check_all $TESTPOOL2 "SUSPENDED"
/freebsd-13-stable/tests/sys/cddl/zfs/tests/largest_pool/
H A Dlargest_pool_001_pos.ksh107 datasetexists $TESTPOOL2/$TESTVOL && \
108 log_must $ZFS destroy $TESTPOOL2/$TESTVOL
110 destroy_pool $TESTPOOL2
131 create_pool $TESTPOOL2 "$DISKS"
134 str=$($ZFS create -sV $volsize $TESTPOOL2/$TESTVOL 2>&1)
145 log_fail "$ZFS create -sV $volsize $TESTPOOL2/$TESTVOL"
164 log_must $ZFS destroy $TESTPOOL2/$TESTVOL
165 destroy_pool $TESTPOOL2
/freebsd-13-stable/sys/contrib/openzfs/tests/zfs-tests/tests/functional/cli_root/zpool_import/
H A Dzpool_import_007_pos.ksh51 destroy_pool $TESTPOOL2
75 log_must zpool create $TESTPOOL2 $VDEV0
79 log_must zpool destroy $TESTPOOL2
86 log_must zpool create $TESTPOOL2 $VDEV0 $VDEV1
88 log_must zpool destroy $TESTPOOL2
H A Dzpool_import_008_pos.ksh51 destroy_pool $TESTPOOL2
75 log_must zpool create $TESTPOOL2 $VDEV0 $VDEV1
79 log_must zpool destroy $TESTPOOL2
87 log_must zpool create $TESTPOOL2 $VDEV0 $VDEV1 $VDEV2
89 log_must zpool destroy $TESTPOOL2

Completed in 143 milliseconds

123