| /f-stack/freebsd/contrib/openzfs/tests/zfs-tests/tests/functional/cli_root/zfs_destroy/ |
| H A D | zfs_destroy_dev_removal_condense.ksh | 39 poolexists $TESTPOOL2 && zpool destroy $TESTPOOL2 57 log_must poolexists $TESTPOOL2 59 log_must zfs create $TESTPOOL2/$TESTFS 63 log_must zfs clone $TESTPOOL2/$TESTFS@snap $TESTPOOL2/$TESTCLONE 67 log_must mkfile 1m /$TESTPOOL2/$TESTCLONE/B 68 log_must zpool sync $TESTPOOL2 74 wait_for_removal $TESTPOOL2 79 log_must zpool sync $TESTPOOL2 81 log_must zpool sync $TESTPOOL2 87 log_must zpool sync $TESTPOOL2 [all …]
|
| H A D | zfs_destroy_dev_removal.ksh | 33 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 50 log_must zfs snapshot $TESTPOOL2/$TESTFS@snap 52 log_must zfs clone $TESTPOOL2/$TESTFS@snap $TESTPOOL2/$TESTCLONE 58 log_must zpool add $TESTPOOL2 $VIRTUAL_DISK2 60 wait_for_removal $TESTPOOL2 62 log_must rm /$TESTPOOL2/$TESTCLONE/$TESTFILE0 63 log_must rm /$TESTPOOL2/$TESTCLONE/$TESTFILE1 [all …]
|
| 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
|
| /f-stack/freebsd/contrib/openzfs/tests/zfs-tests/tests/functional/cli_root/zpool_scrub/ |
| H A D | zpool_scrub_offline_device.ksh | 52 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 $RESILVER_TIMEOUT 125 zpool_scrub_sync $TESTPOOL2 128 cksum=$(zpool status $TESTPOOL2 | awk 'L{print $NF;L=0} /CKSUM$/{L=1}') [all …]
|
| /f-stack/freebsd/contrib/openzfs/tests/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!"
|
| /f-stack/freebsd/contrib/openzfs/tests/zfs-tests/tests/functional/cli_root/zfs_mount/ |
| H A D | zfs_mount_test_race.ksh | 47 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 104 log_must ismounted $TESTPOOL2/$TESTFS2 [all …]
|
| /f-stack/freebsd/contrib/openzfs/tests/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
|
| /f-stack/freebsd/contrib/openzfs/tests/zfs-tests/tests/functional/cli_root/zpool_split/ |
| H A D | zpool_split_props.ksh | 36 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 D | zpool_split_wholedisk.ksh | 45 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 D | zpool_split_indirect.ksh | 43 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"
|
| H A D | zpool_split_devices.ksh | 35 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 D | zpool_split_vdevs.ksh | 35 destroy_pool $TESTPOOL2 119 typeset altroot="$TESTDIR/altroot-$TESTPOOL2" 130 log_must zpool split -R $altroot $TESTPOOL $TESTPOOL2 131 log_must poolexists $TESTPOOL2 132 log_must test "$(get_pool_prop 'altroot' $TESTPOOL2)" == "$altroot" 145 log_mustnot zpool split -R $altroot $TESTPOOL $TESTPOOL2 146 log_mustnot poolexists $TESTPOOL2
|
| H A D | zpool_split_encryption.ksh | 34 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 D | zpool_split_cliargs.ksh | 35 destroy_pool $TESTPOOL2 62 log_must zpool split $opt $TESTPOOL $TESTPOOL2 70 log_mustnot zpool split $opt $TESTPOOL $TESTPOOL2 77 log_must zpool create $TESTPOOL2 $DEVICE3 78 log_mustnot zpool split $TESTPOOL $TESTPOOL2
|
| /f-stack/freebsd/contrib/openzfs/tests/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
|
| /f-stack/freebsd/contrib/openzfs/tests/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" 157 log_must zfs destroy $TESTPOOL2/$TESTVOL 158 destroy_pool $TESTPOOL2
|
| /f-stack/freebsd/contrib/openzfs/tests/zfs-tests/tests/functional/procfs/ |
| H A D | pool_state.ksh | 48 if [ -n "$TESTPOOL2" ] ; then 66 log_must zpool clear $TESTPOOL2 72 destroy_pool $TESTPOOL2 114 TESTPOOL2=testpool2 127 log_must zpool create $TESTPOOL2 $REALDISK 141 zpool scrub $TESTPOOL2 & 144 log_must check_all $TESTPOOL2 "SUSPENDED"
|
| /f-stack/freebsd/contrib/openzfs/tests/zfs-tests/tests/functional/cli_root/zpool_import/ |
| H A D | zpool_import_016_pos.ksh | 52 destroy_pool $TESTPOOL2 76 log_must zpool create $TESTPOOL2 $VDEV0 80 log_must zpool destroy $TESTPOOL2 87 log_must zpool create $TESTPOOL2 $VDEV0 $VDEV1 89 log_must zpool destroy $TESTPOOL2
|
| 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_017_pos.ksh | 52 destroy_pool $TESTPOOL2 76 log_must zpool create $TESTPOOL2 $VDEV0 $VDEV1 80 log_must zpool destroy $TESTPOOL2 88 log_must zpool create $TESTPOOL2 $VDEV0 $VDEV1 $VDEV2 90 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 | 112 for pool in $TESTPOOL1 $TESTPOOL2; do 195 setup_filesystem "$vdev2" $TESTPOOL2 $TESTFS $TESTDIR2 \ 199 poolexists $TESTPOOL2 && \ 200 log_must zpool export $TESTPOOL2 218 log_must zpool import -d $DEVICE_DIR $TESTPOOL2 225 verify "$TESTPOOL2" "$TESTFS" "$TESTDIR2" \
|
| /f-stack/freebsd/contrib/openzfs/tests/zfs-tests/tests/functional/inuse/ |
| H A D | inuse_003_pos.ksh | 57 poolexists $TESTPOOL2 && destroy_pool $TESTPOOL2 160 log_mustnot zpool create -f $TESTPOOL2 "$disk1" 161 log_mustnot poolexists $TESTPOOL2 165 log_mustnot zpool create -f $TESTPOOL2 "$FS_DISK2" spare "$disk1" 166 log_mustnot poolexists $TESTPOOL2
|
| /f-stack/freebsd/contrib/openzfs/tests/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" 76 create_pool $TESTPOOL2 $ZVOL_DEVDIR/$TESTPOOL1/$TESTVOL
|