/illumos-gate/usr/src/test/zfs-tests/tests/functional/cli_root/zpool_scrub/ |
H A D | zpool_scrub_offline_device.ksh | 53 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 D | poolversion_002_pos.ksh | 49 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 D | cleanup.ksh | 39 log_must zpool destroy $TESTPOOL2
|
/illumos-gate/usr/src/test/zfs-tests/tests/functional/cachefile/ |
H A D | cachefile_004_pos.ksh | 56 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 D | checkpoint_sm_scale.ksh | 61 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 D | largest_pool_001_pos.ksh | 99 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 D | zfs_destroy_015_pos.ksh | 35 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 D | zpool_import_007_pos.ksh | 51 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 D | zpool_import_008_pos.ksh | 51 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 D | import_cachefile_shared_device.ksh | 40 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 D | zpool_import_missing_003_pos.ksh | 107 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 D | zpool_import_011_neg.ksh | 53 destroy_pool $TESTPOOL2 74 log_must zpool create $TESTPOOL2 $VDEV2 78 log_must zpool destroy $TESTPOOL2
|
H A D | zpool_import_006_pos.ksh | 51 destroy_pool $TESTPOOL2 75 log_must zpool create $TESTPOOL2 $VDEV0 $VDEV2 79 log_must zpool destroy $TESTPOOL2
|
H A D | import_rewind_device_replaced.ksh | 146 log_must zpool create -f $TESTPOOL2 $VDEV0 $VDEV1 $VDEV2 $VDEV3 $VDEV4 147 log_must zpool destroy $TESTPOOL2
|
H A D | import_rewind_config_changed.ksh | 143 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 D | inuse_003_pos.ksh | 57 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 D | zpool_destroy_001_pos.ksh | 50 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 D | zpool_resilver_bad_args.ksh | 52 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 D | cache_010_neg.ksh | 82 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 D | cleanup.ksh | 40 if datasetexists $TESTPOOL2 ; then 41 log_must zpool destroy -f $TESTPOOL2
|
H A D | cache.kshlib | 38 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 D | zpool_create_002_pos.ksh | 50 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 D | zpool_export_004_pos.ksh | 58 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 D | cleanup.ksh | 44 if datasetexists $TESTPOOL2 ; then 45 log_must zpool destroy -f $TESTPOOL2
|
H A D | slog.kshlib | 46 poolexists $TESTPOOL2 && destroy_pool $TESTPOOL2
|