| /f-stack/freebsd/contrib/openzfs/tests/zfs-tests/tests/functional/cli_root/zpool_expand/ |
| H A D | zpool_expand_002_pos.ksh | 55 poolexists $TESTPOOL1 && destroy_pool $TESTPOOL1 90 log_must zpool reopen $TESTPOOL1 132 | grep "pool '$TESTPOOL1' size:" | \ 143 zpool history -il $TESTPOOL1 | \ 144 grep "pool '$TESTPOOL1' size:" | \ 154 zpool history -il $TESTPOOL1 | \ 155 grep "pool '$TESTPOOL1' size:" | \ 165 zpool history -il $TESTPOOL1 | \ 166 grep "pool '$TESTPOOL1' size:" | \ 184 verify_pool $TESTPOOL1 [all …]
|
| H A D | zpool_expand_001_pos.ksh | 59 poolexists $TESTPOOL1 && destroy_pool $TESTPOOL1 98 typeset prev_size=$(get_pool_prop size $TESTPOOL1) 116 log_must zpool online -e $TESTPOOL1 $FILE_RAW 129 grep "pool '$TESTPOOL1' size:" | \ 139 zpool history -il $TESTPOOL1 | \ 140 grep "pool '$TESTPOOL1' size:" | \ 145 log_fail "pool $TESTPOOL1 has not expanded" 149 zpool history -il $TESTPOOL1 | \ 150 grep "pool '$TESTPOOL1' size:" | \ 159 zpool history -il $TESTPOOL1 | \ [all …]
|
| H A D | zpool_expand_005_pos.ksh | 50 poolexists $TESTPOOL1 && destroy_pool $TESTPOOL1 63 log_must zpool create $TESTPOOL1 $SDISK 65 typeset autoexp=$(get_pool_prop autoexpand $TESTPOOL1) 67 log_fail "zpool $TESTPOOL1 autoexpand should be off but is $autoexp" 70 typeset prev_size=$(get_pool_prop size $TESTPOOL1) 80 log_must zpool reopen $TESTPOOL1 82 typeset expandsize=$(get_pool_prop expandsize $TESTPOOL1) 85 log_fail "pool $TESTPOOL1 did not detect any " \ 90 log_must zpool online -e $TESTPOOL1 $SDISK 92 typeset new_size=$(get_pool_prop size $TESTPOOL1) [all …]
|
| /f-stack/freebsd/contrib/openzfs/tests/zfs-tests/tests/functional/replacement/ |
| H A D | rebuild_multiple.ksh | 41 destroy_pool $TESTPOOL1 69 log_must zpool create -f $TESTPOOL1 \ 76 log_must zpool sync $TESTPOOL1 83 check_history $TESTPOOL1 "started" 2 84 check_history $TESTPOOL1 "reset" 0 85 check_history $TESTPOOL1 "complete" 0 92 destroy_pool $TESTPOOL1 102 log_must zpool sync $TESTPOOL1 109 check_history $TESTPOOL1 "started" 2 110 check_history $TESTPOOL1 "reset" 0 [all …]
|
| H A D | attach_resilver.ksh | 57 if poolexists $TESTPOOL1; then 58 destroy_pool $TESTPOOL1 115 log_must zpool export $TESTPOOL1 118 log_must zdb -cdui $TESTPOOL1/$TESTFS1 120 verify_pool $TESTPOOL1 138 create_pool $TESTPOOL1 mirror $specials_list 139 log_must zfs create $TESTPOOL1/$TESTFS1 149 destroy_pool $TESTPOOL1 156 create_pool $TESTPOOL1 $type $specials_list 157 log_must zfs create $TESTPOOL1/$TESTFS1 [all …]
|
| H A D | detach.ksh | 57 if poolexists $TESTPOOL1; then 58 destroy_pool $TESTPOOL1 105 log_must zpool detach $TESTPOOL1 $disk1 115 log_must zpool export $TESTPOOL1 118 log_must zdb -cdui $TESTPOOL1/$TESTFS1 131 create_pool $TESTPOOL1 mirror $specials_list 132 log_must zfs create $TESTPOOL1/$TESTFS1 142 destroy_pool $TESTPOOL1 147 create_pool $TESTPOOL1 $type $specials_list 148 log_must zfs create $TESTPOOL1/$TESTFS1 [all …]
|
| H A D | attach_multiple.ksh | 43 destroy_pool $TESTPOOL1 69 log_mustnot is_pool_resilvering $TESTPOOL1 73 log_must zpool attach $flags $TESTPOOL1 \ 75 log_must is_pool_resilvering $TESTPOOL1 78 log_must zpool attach $flags $TESTPOOL1 \ 80 log_must is_pool_resilvering $TESTPOOL1 86 log_must zpool detach $TESTPOOL1 ${VDEV_FILES[1]} 87 log_must is_pool_resilvering $TESTPOOL1 101 log_must is_pool_resilvering $TESTPOOL1 103 log_mustnot is_pool_resilvering $TESTPOOL1 [all …]
|
| H A D | attach_rebuild.ksh | 59 if poolexists $TESTPOOL1; then 60 destroy_pool $TESTPOOL1 116 log_must zpool export $TESTPOOL1 118 log_must zfs umount $TESTPOOL1/$TESTFS1 119 log_must zdb -cdui $TESTPOOL1/$TESTFS1 120 log_must zfs mount $TESTPOOL1/$TESTFS1 121 verify_pool $TESTPOOL1 140 log_must zfs create $TESTPOOL1/$TESTFS1 150 destroy_pool $TESTPOOL1 158 log_must zfs create $TESTPOOL1/$TESTFS1 [all …]
|
| H A D | rebuild_raidz.ksh | 40 destroy_pool $TESTPOOL1 54 log_must zpool create -f $TESTPOOL1 $vdev_type ${VDEV_FILES[@]} 55 log_mustnot zpool replace -s $TESTPOOL1 ${VDEV_FILES[1]} \ 57 destroy_pool $TESTPOOL1 61 log_must zpool create $TESTPOOL1 ${VDEV_FILES[@]} 62 log_must zpool replace -s $TESTPOOL1 ${VDEV_FILES[1]} $SPARE_VDEV_FILE 63 destroy_pool $TESTPOOL1 68 destroy_pool $TESTPOOL1 71 log_must zpool create $TESTPOOL1 draid ${VDEV_FILES[@]} 72 log_must zpool replace -s $TESTPOOL1 ${VDEV_FILES[1]} $SPARE_VDEV_FILE [all …]
|
| H A D | scrub_cancel.ksh | 45 destroy_pool $TESTPOOL1 58 log_must zpool create -f $TESTPOOL1 ${VDEV_FILES[@]} 59 log_must zfs create $TESTPOOL1/$TESTFS 61 mntpnt=$(get_prop mountpoint $TESTPOOL1/$TESTFS) 63 log_must zpool sync $TESTPOOL1 86 log_must zpool scrub $TESTPOOL1 93 while is_pool_scrubbing $TESTPOOL1; do 96 log_mustnot is_pool_scrubbing $TESTPOOL1 99 log_must is_pool_resilvering $TESTPOOL1 100 log_mustnot zpool scrub $TESTPOOL1 [all …]
|
| H A D | replace_rebuild.ksh | 60 if poolexists $TESTPOOL1; then 61 destroy_pool $TESTPOOL1 118 log_must zpool export $TESTPOOL1 119 log_must zpool import -d $TESTDIR $TESTPOOL1 120 log_must zfs umount $TESTPOOL1/$TESTFS1 121 log_must zdb -cdui $TESTPOOL1/$TESTFS1 122 log_must zfs mount $TESTPOOL1/$TESTFS1 123 verify_pool $TESTPOOL1 143 log_must zfs create $TESTPOOL1/$TESTFS1 153 destroy_pool $TESTPOOL1 [all …]
|
| H A D | replace_resilver.ksh | 57 if poolexists $TESTPOOL1; then 58 destroy_pool $TESTPOOL1 115 log_must zpool export $TESTPOOL1 116 log_must zpool import -d $TESTDIR $TESTPOOL1 117 log_must zfs umount $TESTPOOL1/$TESTFS1 118 log_must zdb -cdui $TESTPOOL1/$TESTFS1 119 log_must zfs mount $TESTPOOL1/$TESTFS1 120 verify_pool $TESTPOOL1 140 log_must zfs create $TESTPOOL1/$TESTFS1 150 destroy_pool $TESTPOOL1 [all …]
|
| H A D | resilver_restart_001.ksh | 53 destroy_pool $TESTPOOL1 73 VDEV_DEFERS=$(zdb -C $TESTPOOL1 | awk ' 119 set -A DATAPATHS /$TESTPOOL1/fs{0..3}/dat.0 147 log_must zpool replace $TESTPOOL1 $VDEV_REPLACE 156 log_must zpool sync $TESTPOOL1 157 log_must zpool online $TESTPOOL1 ${VDEV_FILES[2]} 158 log_must zpool sync $TESTPOOL1 176 log_must zpool wait -t resilver $TESTPOOL1 177 log_must is_pool_resilvered $TESTPOOL1 180 log_must zpool sync $TESTPOOL1 [all …]
|
| H A D | attach_import.ksh | 40 destroy_pool $TESTPOOL1 54 log_must zpool create -f $TESTPOOL1 ${VDEV_FILES[0]} 56 log_must zpool attach $arg $TESTPOOL1 ${VDEV_FILES[0]} ${VDEV_FILES[1]} 57 log_must is_pool_resilvering $TESTPOOL1 58 log_must zpool export $TESTPOOL1 59 log_must zpool import -d $TEST_BASE_DIR $TESTPOOL1 60 log_must is_pool_resilvering $TESTPOOL1 62 log_must zpool wait -t resilver $TESTPOOL1 63 log_must is_pool_resilvered $TESTPOOL1 64 destroy_pool $TESTPOOL1
|
| H A D | replace_import.ksh | 40 destroy_pool $TESTPOOL1 54 log_must zpool create -f $TESTPOOL1 ${VDEV_FILES[@]} 56 log_must zpool replace -s $TESTPOOL1 ${VDEV_FILES[0]} $SPARE_VDEV_FILE 57 log_must is_pool_resilvering $TESTPOOL1 58 log_must zpool export $TESTPOOL1 59 log_must zpool import -d $TEST_BASE_DIR $TESTPOOL1 60 log_must is_pool_resilvering $TESTPOOL1 62 log_must zpool wait -t resilver $TESTPOOL1 63 log_must is_pool_resilvered $TESTPOOL1 64 destroy_pool $TESTPOOL1
|
| /f-stack/freebsd/contrib/openzfs/tests/zfs-tests/tests/functional/cli_root/zpool_create/ |
| H A D | zpool_create_011_neg.ksh | 52 for pool in $TESTPOOL $TESTPOOL1 94 "$TESTPOOL1 $DISK0" \ 98 "$TESTPOOL1 draid draid $draid draid $draid2" \ 105 "$TESTPOOL1 mirror $diff_size_dev" \ 106 "$TESTPOOL1 raidz $diff_size_dev" \ 107 "$TESTPOOL1 raidz1 $diff_size_dev" \ 108 "$TESTPOOL1 draid1 $draid_diff_size_dev" \ 110 "$TESTPOOL1 $vfstab_dev" \ 111 "$TESTPOOL1 ${DISK0}s10" \ 112 "$TESTPOOL1 spare $pooldev2" [all …]
|
| /f-stack/freebsd/contrib/openzfs/tests/zfs-tests/tests/functional/cli_root/zpool_import/ |
| H A D | import_cachefile_device_removed.ksh | 59 log_must zpool export $TESTPOOL1 65 log_must zpool destroy $TESTPOOL1 84 log_must zpool remove $TESTPOOL1 $VDEV4 87 log_must zpool remove $TESTPOOL1 $VDEV3 91 log_must zpool export $TESTPOOL1 97 log_must zpool destroy $TESTPOOL1 116 log_must zpool remove $TESTPOOL1 $VDEV1 118 log_must zpool remove $TESTPOOL1 $VDEV3 121 log_must zpool add $TESTPOOL1 $VDEV4 123 log_must zpool export $TESTPOOL1 [all …]
|
| H A D | import_rewind_device_replaced.ksh | 86 log_must generate_data $TESTPOOL1 $MD5FILE 95 txg=$(get_last_txg_synced $TESTPOOL1) 96 log_must zfs snapshot -r $TESTPOOL1@snap1 99 log_must overwrite_data $TESTPOOL1 "" 101 log_must zpool export $TESTPOOL1 109 log_must pool_is_replacing $TESTPOOL1 110 log_must zpool export $TESTPOOL1 122 log_must zpool export $TESTPOOL1 126 log_must overwrite_data $TESTPOOL1 "" 128 log_must zpool export $TESTPOOL1 [all …]
|
| H A D | zpool_import_features_003_pos.ksh | 52 poolexists $TESTPOOL1 && destroy_pool $TESTPOOL1 61 log_must zpool create $TESTPOOL1 $VDEV0 62 log_must zpool export $TESTPOOL1 72 log_mustnot zpool import -d $DEVICE_DIR $TESTPOOL1 76 log_mustnot poolexists $TESTPOOL1 79 log_mustnot eval "zpool import -d $DEVICE_DIR $TESTPOOL1 \ 81 log_mustnot poolexists $TESTPOOL1 85 log_must eval "zpool import -d $DEVICE_DIR $TESTPOOL1 \ 87 log_mustnot poolexists $TESTPOOL1 93 state=$(zpool list -Ho unsupported@$feature $TESTPOOL1) [all …]
|
| H A D | zpool_import_features_002_neg.ksh | 49 poolexists $TESTPOOL1 && destroy_pool $TESTPOOL1 58 log_must zpool create $TESTPOOL1 $VDEV0 59 log_must zpool export $TESTPOOL1 62 log_must zhack -d $DEVICE_DIR feature enable $TESTPOOL1 $feature 66 log_must zhack -d $DEVICE_DIR feature ref $TESTPOOL1 $feature 69 log_mustnot zpool import -d $DEVICE_DIR $TESTPOOL1 73 log_mustnot poolexists $TESTPOOL1 76 log_must eval "zpool import -d $DEVICE_DIR $TESTPOOL1 \ 78 log_mustnot poolexists $TESTPOOL1 82 log_mustnot eval "zpool import -d $DEVICE_DIR $TESTPOOL1 \ [all …]
|
| H A D | import_cachefile_device_replaced.ksh | 86 log_must write_some_data $TESTPOOL1 $writedata 87 log_must zpool export $TESTPOOL1 97 log_must pool_is_replacing $TESTPOOL1 98 log_must zpool export $TESTPOOL1 107 log_must zpool import -c $CPATH $TESTPOOL1 111 log_must zpool export $TESTPOOL1 118 log_must zpool import -c $CPATHBKP $TESTPOOL1 119 log_must check_pool_config $TESTPOOL1 "$poolfinalstate" 120 log_must zpool export $TESTPOOL1 125 log_must zpool import -c $CPATHBKP2 $TESTPOOL1 [all …]
|
| H A D | import_rewind_config_changed.ksh | 67 log_must zpool create $TESTPOOL1 $poolcreate 69 log_must generate_data $TESTPOOL1 $MD5FILE 75 txg=$(get_last_txg_synced $TESTPOOL1) 76 log_must zfs snapshot -r $TESTPOOL1@snap1 82 log_must zpool add -f $TESTPOOL1 $addvdevs 100 zpool export $TESTPOOL1 106 zpool import -d $DEVICE_DIR $TESTPOOL1 123 log_must zpool checkpoint $TESTPOOL1 125 log_must overwrite_data $TESTPOOL1 "" 127 log_must zpool export $TESTPOOL1 [all …]
|
| /f-stack/freebsd/contrib/openzfs/tests/zfs-tests/tests/functional/cli_root/zpool_export/ |
| H A D | zpool_export_004_pos.ksh | 56 datasetexists $TESTPOOL1 || log_must zpool import -d $mntpnt $TESTPOOL1 57 datasetexists $TESTPOOL1 && destroy_pool $TESTPOOL1 88 log_must zpool export $TESTPOOL1 89 log_must zpool import -d $mntpnt $TESTPOOL1 91 log_must zpool replace $TESTPOOL1 $vdev0 $vdev4 92 log_must zpool detach $TESTPOOL1 $vdev4 93 log_must zpool export $TESTPOOL1 94 log_must zpool import -d $mntpnt $TESTPOOL1 97 log_mustnot zpool export $TESTPOOL1 99 log_must zpool export -f $TESTPOOL1 [all …]
|
| /f-stack/freebsd/contrib/openzfs/tests/zfs-tests/tests/functional/projectquota/ |
| H A D | projectquota_002_pos.ksh | 47 if poolexists $TESTPOOL1; then 48 log_must zpool destroy $TESTPOOL1 64 if poolexists $TESTPOOL1; then 65 zpool destroy $TESTPOOL1 69 -O projectobjquota@$PRJID2=$PQUOTA_OBJLIMIT $TESTPOOL1 $pool_vdev 72 $TESTPOOL1 > /dev/null 2>&1" 74 log_must check_quota "projectquota@$PRJID1" $TESTPOOL1 "$PQUOTA_LIMIT" 75 log_must check_quota "projectobjquota@$PRJID2" $TESTPOOL1 "$PQUOTA_OBJLIMIT" 78 -o projectobjquota@$PRJID2=$PQUOTA_OBJLIMIT $TESTPOOL1/fs 81 $TESTPOOL1 > /dev/null 2>&1" [all …]
|
| /f-stack/freebsd/contrib/openzfs/tests/zfs-tests/tests/functional/userquota/ |
| H A D | userquota_002_pos.ksh | 48 if poolexists $TESTPOOL1; then 49 log_must zpool destroy $TESTPOOL1 66 if poolexists $TESTPOOL1; then 67 zpool destroy $TESTPOOL1 71 -O groupquota@$QGROUP=$GQUOTA_SIZE $TESTPOOL1 $pool_vdev 74 $TESTPOOL1 > /dev/null 2>&1" 76 log_must check_quota "userquota@$QUSER1" $TESTPOOL1 "$UQUOTA_SIZE" 77 log_must check_quota "groupquota@$QGROUP" $TESTPOOL1 "$GQUOTA_SIZE" 80 -o groupquota@$QGROUP=$GQUOTA_SIZE $TESTPOOL1/fs 83 $TESTPOOL1 > /dev/null 2>&1" [all …]
|