Home
last modified time | relevance | path

Searched refs:TESTPOOL2 (Results 1 – 25 of 32) sorted by relevance

12

/illumos-gate/usr/src/test/zfs-tests/tests/functional/cli_root/zpool_scrub/
H A Dzpool_scrub_offline_device.ksh53 poolexists $TESTPOOL2 && destroy_pool $TESTPOOL2
107 poolexists $TESTPOOL2 && destroy_pool $TESTPOOL2
108 log_must zpool create -O mountpoint=$TESTDIR $TESTPOOL2 \
112 zpool_do_sync 'offline' $TESTPOOL2 $DISK1
118 zpool_scrub_sync $TESTPOOL2
121 zpool_do_sync 'online' $TESTPOOL2 $DISK1
122 zpool_do_sync 'offline' $TESTPOOL2 $DISK2
123 log_must wait_for_resilver_end $TESTPOOL2 $RESILVER_TIMEOUT
126 zpool_scrub_sync $TESTPOOL2
129 cksum=$(zpool status $TESTPOOL2 | awk '{if ($NF == "CKSUM") {fnd=1; next} \
[all …]
/illumos-gate/usr/src/test/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!"
H A Dcleanup.ksh39 log_must zpool destroy $TESTPOOL2
/illumos-gate/usr/src/test/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 $CPATH2
119 log_must zpool destroy $TESTPOOL2
/illumos-gate/usr/src/test/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
/illumos-gate/usr/src/test/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"
156 log_must zfs destroy $TESTPOOL2/$TESTVOL
157 destroy_pool $TESTPOOL2
/illumos-gate/usr/src/test/zfs-tests/tests/functional/cli_root/zfs_destroy/
H A Dzfs_destroy_015_pos.ksh35 poolexists $TESTPOOL2 && zpool destroy $TESTPOOL2
143 log_must zpool create $TESTPOOL2 $VIRTUAL_DISK
144 log_must poolexists $TESTPOOL2
146 log_must zfs create $TESTPOOL2/$TESTFS1
147 log_must zfs snapshot $TESTPOOL2/$TESTFS1@snap
148 long_arg=$TESTPOOL2/$TESTFS1@snap,$TESTPOOL/$TESTFS1@snap3,
151 log_mustnot snapexists $TESTPOOL2/$TESTFS1@snap
155 log_must zfs snapshot $TESTPOOL2/$TESTFS1@snap
156 log_must zfs destroy $TESTPOOL2/$TESTFS1@snap5,snap3,snap
157 log_mustnot snapexists $TESTPOOL2/$TESTFS1@snap
/illumos-gate/usr/src/test/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
H A Dimport_cachefile_shared_device.ksh40 destroy_pool $TESTPOOL2
78 log_must zpool create -f $TESTPOOL2 $pool2
80 log_must zpool export $TESTPOOL2
100 log_must zpool import -d $DEVICE_DIR $TESTPOOL2
101 log_must zpool destroy $TESTPOOL2
H A Dzpool_import_missing_003_pos.ksh107 for pool in $TESTPOOL1 $TESTPOOL2; do
190 setup_filesystem "$vdev2" $TESTPOOL2 $TESTFS $TESTDIR2 \
194 poolexists $TESTPOOL2 && \
195 log_must zpool export $TESTPOOL2
210 log_must zpool import -d $DEVICE_DIR $TESTPOOL2
217 verify "$TESTPOOL2" "$TESTFS" "$TESTDIR2" \
H A Dzpool_import_011_neg.ksh53 destroy_pool $TESTPOOL2
74 log_must zpool create $TESTPOOL2 $VDEV2
78 log_must zpool destroy $TESTPOOL2
H A Dzpool_import_006_pos.ksh51 destroy_pool $TESTPOOL2
75 log_must zpool create $TESTPOOL2 $VDEV0 $VDEV2
79 log_must zpool destroy $TESTPOOL2
H A Dimport_rewind_device_replaced.ksh146 log_must zpool create -f $TESTPOOL2 $VDEV0 $VDEV1 $VDEV2 $VDEV3 $VDEV4
147 log_must zpool destroy $TESTPOOL2
H A Dimport_rewind_config_changed.ksh143 log_must zpool create -f $TESTPOOL2 $VDEV0 $VDEV1 $VDEV2 $VDEV3 $VDEV4
144 log_must zpool destroy $TESTPOOL2
/illumos-gate/usr/src/test/zfs-tests/tests/functional/inuse/
H A Dinuse_003_pos.ksh57 poolexists $TESTPOOL2 && destroy_pool $TESTPOOL2
167 log_mustnot zpool create -f $TESTPOOL2 "$disk1"
168 log_mustnot poolexists $TESTPOOL2
172 log_mustnot zpool create -f $TESTPOOL2 "$FS_SIDE2" spare "$disk1"
173 log_mustnot poolexists $TESTPOOL2
/illumos-gate/usr/src/test/zfs-tests/tests/functional/cli_root/zpool_destroy/
H A Dzpool_destroy_001_pos.ksh50 poolexists $TESTPOOL2 && destroy_pool $TESTPOOL2
62 set -A datasets "$TESTPOOL" "$TESTPOOL2"
77 create_pool "$TESTPOOL2" "/dev/zvol/dsk/$TESTPOOL1/$TESTVOL"
/illumos-gate/usr/src/test/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
/illumos-gate/usr/src/test/zfs-tests/tests/functional/cache/
H A Dcache_010_neg.ksh82 log_must zpool create $TESTPOOL2 $VDEV2
83 log_must zfs create -V $SIZE $TESTPOOL2/$TESTVOL
84 log_mustnot zpool add $TESTPOOL cache /dev/zvol/rdsk/$TESTPOOL2/$TESTVOL
H A Dcleanup.ksh40 if datasetexists $TESTPOOL2 ; then
41 log_must zpool destroy -f $TESTPOOL2
H A Dcache.kshlib38 if datasetexists $TESTPOOL2 ; then
39 log_must zpool destroy -f $TESTPOOL2
/illumos-gate/usr/src/test/zfs-tests/tests/functional/cli_root/zpool_create/
H A Dzpool_create_002_pos.ksh50 for pool in $TESTPOOL $TESTPOOL1 $TESTPOOL2 $TESTPOOL3 $TESTPOOL4 \
96 log_mustnot zpool create "$TESTPOOL2" "${disk}s${SLICE1}"
97 create_pool "$TESTPOOL2" "${disk}s${SLICE1}"
98 log_must poolexists $TESTPOOL2
/illumos-gate/usr/src/test/zfs-tests/tests/functional/cli_root/zpool_export/
H A Dzpool_export_004_pos.ksh58 datasetexists $TESTPOOL2 && destroy_pool $TESTPOOL2
82 log_must zpool create $TESTPOOL2 mirror $vdev2 $vdev3 spare $vdev4
/illumos-gate/usr/src/test/zfs-tests/tests/functional/slog/
H A Dcleanup.ksh44 if datasetexists $TESTPOOL2 ; then
45 log_must zpool destroy -f $TESTPOOL2
H A Dslog.kshlib46 poolexists $TESTPOOL2 && destroy_pool $TESTPOOL2

12