/freebsd/sys/contrib/openzfs/tests/zfs-tests/tests/functional/redacted_send/ |
H A D | redacted_incrementals.ksh | 34 typeset recvfs="$POOL2/$ds_name" 41 typeset recv_mnt="/$POOL2/$ds_name" 43 log_onexit redacted_cleanup $sendfs $recvfs $POOL2/rfs 49 log_must eval "zfs receive $POOL2/rfs <$stream" 53 log_must eval "zfs recv $POOL2/rstride3 <$stream" 54 log_must directory_diff /$POOL/stride3 /$POOL2/rstride3 56 log_must eval "zfs recv $POOL2/rstride5 <$stream" 57 log_must directory_diff /$POOL/stride5 /$POOL2/rstride5 61 log_mustnot eval "zfs recv $POOL2/rhole@snap <$stream" 67 log_must eval "zfs recv $POOL2/rint <$stream" [all …]
|
H A D | redacted_origin.ksh | 46 typeset targ=$POOL2/targfs@snap 48 log_onexit redacted_cleanup $sendfs $POOL2/rBCD $POOL2/targfs \ 49 $POOL2/rBC $POOL2/rE 54 log_must eval "zfs receive $POOL2/rBCD <$stream" 59 log_must eval "zfs receive $POOL2/rBC <$stream" 63 log_must eval "zfs receive $POOL2/rE <$stream" 66 log_must eval "zfs receive -o origin=$POOL2/rBCD@snap0 $POOL2/BCDrF <$stream" 67 log_must eval "zfs receive -o origin=$POOL2/rBC@snap0 $POOL2/BCrF <$stream" 68 log_must eval "zfs receive -o origin=$POOL2/rE@snap0 $POOL2/ErF <$stream" 71 log_must eval "zfs send -i $POOL2/rBCD@snap0 $POOL2/BCDrF@snap >$stream" [all …]
|
H A D | redacted_disabled_feature.ksh | 35 typeset sendfs1="$POOL2/${ds_name}1" 36 typeset recvfs="$POOL2/$ds_name" 38 typeset clone1="$POOL2/${ds_name}_clone1" 45 destroy_pool $POOL2 46 create_pool $POOL2 $DISK2 47 log_must zfs snapshot $POOL2@init 53 destroy_pool $POOL2 54 log_must zpool create -d $POOL2 $DISK2 62 log_must zpool set feature@redaction_bookmarks=enabled $POOL2 68 log_must zpool set feature@redacted_datasets=enabled $POOL2
|
H A D | redacted_mixed_recsize.ksh | 37 log_onexit redacted_cleanup $POOL/512 $POOL/1m $POOL2/512 $POOL2/1m 59 log_must zfs create -o recsize=512 $POOL2/512 60 log_must zfs create -o recsize=1m $POOL2/1m 65 log_must eval "zfs recv $POOL2/512/recva <$stream" 66 compare_files $POOL/512 $POOL2/512/recva "f1" "$RANGE13" 67 log_must eval "zfs recv $POOL2/1m/recvb <$stream" 68 compare_files $POOL/512 $POOL2/1m/recvb "f1" "$RANGE13" 72 log_must eval "zfs recv $POOL2/512/recvc <$stream" 73 compare_files $POOL/1m $POOL2/512/recvc "f1" "$RANGE11" 74 log_must eval "zfs recv $POOL2/1m/recvd <$stream" [all …]
|
/freebsd/sys/contrib/openzfs/tests/zfs-tests/tests/functional/rsend/ |
H A D | send-c_incremental.ksh | 35 log_onexit cleanup_pool $POOL2 41 log_must eval "zfs receive -d -F $POOL2 < $BACKDIR/final" 45 log_must cmp_ds_cont $POOL $POOL2 46 [[ $opt = "-I" ]] && log_must cmp_ds_subs $POOL $POOL2 47 [[ $opt = "-i" ]] && log_mustnot cmp_ds_subs $POOL $POOL2 51 cleanup_pool $POOL2 53 log_must eval "zfs receive -d -F $POOL2 < $BACKDIR/final" 58 final=$(getds_with_suffix $POOL2 @final) 59 list="$final $(getds_with_suffix $POOL2 @snapA)" 60 list="$list $(getds_with_suffix $POOL2 @snapB)" [all …]
|
H A D | rsend_004_pos.ksh | 49 log_onexit cleanup_pool $POOL2 55 log_must eval "zfs receive -d -F $POOL2 < $BACKDIR/pool-final-R" 61 srclist=$(getds_with_suffix $POOL2 @final) 62 interlist="$srclist $(getds_with_suffix $POOL2 @snapC)" 63 interlist="$interlist $(getds_with_suffix $POOL2 @snapB)" 64 interlist="$interlist $(getds_with_suffix $POOL2 @snapA)" 66 log_must eval "zfs send -R -i @init $POOL2@final > " \ 69 log_must eval "zfs receive -d -F $POOL2 < $BACKDIR/pool-init-final-iR" 72 dstlist=$(getds_with_suffix $POOL2 @final) 76 log_must cmp_ds_cont $POOL $POOL2 [all …]
|
H A D | rsend_002_pos.ksh | 48 log_onexit cleanup_pool $POOL2 54 log_must eval "zfs receive -d -F $POOL2 < $BACKDIR/pool-R" 60 log_must eval "zfs send -I $POOL2@init $POOL2@final > " \ 62 log_must destroy_tree $POOL2@final $POOL2@snapC $POOL2@snapA 63 log_must eval "zfs receive -d -F $POOL2 < $BACKDIR/pool-init-final-I" 64 log_must cmp_ds_subs $POOL $POOL2 65 log_must cmp_ds_cont $POOL $POOL2 68 dstds=$(get_dst_ds $POOL $POOL2) 83 dataset=$POOL2/$FS/vol 88 log_must eval "zfs receive -d -F $POOL2 < $BACKDIR/vol-vsnap-final-I" [all …]
|
H A D | rsend_003_pos.ksh | 48 log_onexit cleanup_pool $POOL2 54 log_must eval "zfs receive -d -F $POOL2 < $BACKDIR/pool-R" 60 log_must eval "zfs send -I $POOL2@psnap $POOL2/pclone@final > " \ 62 log_must_busy zfs destroy -rf $POOL2/pclone 63 log_must eval "zfs receive -d -F $POOL2 < $BACKDIR/pool-clone-I" 64 log_must cmp_ds_subs $POOL $POOL2 65 log_must cmp_ds_cont $POOL $POOL2 68 dstds=$(get_dst_ds $POOL $POOL2) 86 ds=$POOL2/$FS 90 log_must eval "zfs receive -d -F $POOL2 < $BACKDIR/vol-clone-I" [all …]
|
H A D | rsend_005_pos.ksh | 49 log_onexit cleanup_pool $POOL2 55 log_must eval "zfs receive -d -F $POOL2 < $BACKDIR/pool-final-R" 61 log_must eval "zfs send -R -I @init $POOL2@final > " \ 63 list=$(getds_with_suffix $POOL2 @snapA) 64 list="$list $(getds_with_suffix $POOL2 @snapB)" 65 list="$list $(getds_with_suffix $POOL2 @snapC)" 66 list="$list $(getds_with_suffix $POOL2 @final)" 68 log_must eval "zfs receive -d -F $POOL2 < $BACKDIR/pool-init-final-IR" 69 log_must cmp_ds_cont $POOL $POOL2 72 dstds=$(get_dst_ds $POOL $POOL2) [all …]
|
H A D | rsend_010_pos.ksh | 48 log_onexit cleanup_pool $POOL2 50 log_must zfs create $POOL2/$FS 51 log_must zfs snapshot $POOL2/$FS@snap 56 log_must eval "zfs send -R $POOL2/$FS@snap > $BACKDIR/fs-R" 57 log_must eval "zfs receive -d -F $POOL2/$FS < $BACKDIR/fs-R" 63 list=$(zfs list -r -H -o name -t filesystem $POOL2/$FS) 73 log_must eval "zfs send -R $POOL2/$FS@snap > $BACKDIR/fs-R" 74 dstds=$(get_dst_ds $POOL2/$FS $POOL2/$FS)
|
H A D | rsend_012_pos.ksh | 74 log_must cleanup_pool $POOL2 77 log_must edited_prop "set" $POOL2 82 log_must zfs inherit $prop $POOL2 97 log_must edited_prop "get" $POOL2 138 log_must eval "zfs receive -d -F $POOL2 < $BACKDIR/pool-final-R" 143 set -A pair "$POOL" "$POOL2" \ 144 "$POOL/$FS" "$POOL2/$FS" \ 145 "$POOL/$FS/fs1" "$POOL2/$FS/fs1" \ 146 "$POOL/$FS/fs1/fs2" "$POOL2/$FS/fs1/fs2" \ 147 "$POOL/pclone" "$POOL2/pclone" \ [all …]
|
H A D | rsend_025_pos.ksh | 48 cleanup_pool $POOL2 66 log_must eval "zfs receive -d -F $POOL2 < $BACKDIR/presend" 71 log_must datasetexists $POOL2/$ds 74 log_must_busy zfs destroy -r $POOL2 77 log_must eval "zfs receive -d -F $POOL2 < $BACKDIR/presend" 81 log_must datasetexists $POOL2/$ds 86 log_must datasetnonexists $POOL2/$ds
|
H A D | send-c_lz4_disabled.ksh | 36 typeset send_ds=$POOL2/testds 41 poolexists $POOL2 && destroy_pool $POOL2 43 log_must zpool create $POOL2 $DISK2 47 datasetexists $POOL2 && log_must zpool destroy $POOL2 48 log_must zpool create -d $POOL2 $DISK2
|
H A D | rsend_001_pos.ksh | 48 log_onexit cleanup_pool $POOL2 54 log_must eval "zfs receive -d -F $POOL2 < $BACKDIR/pool-final-R" 56 dstds=$(get_dst_ds $POOL $POOL2) 61 log_must cleanup_pool $POOL2 67 log_must eval "zfs receive -d $POOL2 < $BACKDIR/fs-final-R" 69 dstds=$(get_dst_ds $POOL/$FS $POOL2)
|
H A D | send-c_verify_contents.ksh | 34 log_onexit cleanup_pool $POOL2 38 log_must eval "zfs receive -d -F $POOL2 < $BACKDIR/pool-final-R" 40 dstds=$(get_dst_ds $POOL $POOL2) 45 log_must cleanup_pool $POOL2 49 log_must eval "zfs receive -d $POOL2 < $BACKDIR/fs-final-R" 51 dstds=$(get_dst_ds $POOL/$FS $POOL2)
|
H A D | rsend_027_pos.ksh | 48 cleanup_pool $POOL2 67 log_must eval "zfs receive -d -F $POOL2 < $BACKDIR/presend" 73 log_must datasetexists $POOL2/$ds 76 log_must_busy zfs destroy -r $POOL2 79 log_must eval "zfs receive -d -F $POOL2 < $BACKDIR/presend" 83 log_must datasetexists $POOL2/$ds 88 log_must datasetnonexists $POOL2/$ds
|
H A D | rsend_014_pos.ksh | 34 log_onexit cleanup_pool $POOL2 39 log_must eval "zfs receive -d -F $POOL2 < $BACKDIR/pool-final-R" 41 dstds=$(get_dst_ds $POOL $POOL2) 45 log_must cleanup_pool $POOL2 48 log_must eval "zfs receive -d $POOL2 < $BACKDIR/fs-final-R" 52 dstds=$(get_dst_ds $POOL/$FS $POOL2)
|
H A D | send-c_props.ksh | 37 destroy_pool $POOL2 39 log_must zpool create $POOL2 $DISK2 58 log_must eval "zfs receive -dF $POOL2 < $BACKDIR/pool-final$opt" 62 log_must eval "zfs receive -dF $POOL2 < $BACKDIR/pool-final$opt" 70 log_must cmp_ds_prop $POOL$ds $POOL2$ds nosource $origin 71 log_must cmp_ds_prop $POOL$ds@final $POOL2$ds@final
|
/freebsd/tests/sys/cddl/zfs/tests/rsend/ |
H A D | rsend_004_pos.ksh | 58 log_onexit cleanup_pool $POOL2 64 log_must eval "$ZFS receive -d -F $POOL2 < $BACKDIR/pool-final-R" 70 srclist=$(getds_with_suffix $POOL2 @final) 71 interlist="$srclist $(getds_with_suffix $POOL2 @snapC)" 72 interlist="$interlist $(getds_with_suffix $POOL2 @snapB)" 73 interlist="$interlist $(getds_with_suffix $POOL2 @snapA)" 75 log_must eval "$ZFS send -R -i @init $POOL2@final > " \ 78 log_must eval "$ZFS receive -d -F $POOL2 < $BACKDIR/pool-init-final-iR" 81 dstlist=$(getds_with_suffix $POOL2 @final) 85 log_must cmp_ds_cont $POOL $POOL2 [all …]
|
H A D | rsend_002_pos.ksh | 57 log_onexit cleanup_pool $POOL2 63 log_must eval "$ZFS receive -d -F $POOL2 < $BACKDIR/pool-R" 69 log_must eval "$ZFS send -I $POOL2@init $POOL2@final > " \ 71 log_must destroy_tree $POOL2@final $POOL2@snapC $POOL2@snapA 72 log_must eval "$ZFS receive -d -F $POOL2 < $BACKDIR/pool-init-final-I" 73 log_must cmp_ds_subs $POOL $POOL2 74 log_must cmp_ds_cont $POOL $POOL2 77 dstds=$(get_dst_ds $POOL $POOL2) 92 dataset=$POOL2/$FS/vol 97 log_must eval "$ZFS receive -d -F $POOL2 < $BACKDIR/vol-vsnap-final-I" [all …]
|
H A D | rsend_005_pos.ksh | 58 log_onexit cleanup_pool $POOL2 64 log_must eval "$ZFS receive -d -F $POOL2 < $BACKDIR/pool-final-R" 70 log_must eval "$ZFS send -R -I @init $POOL2@final > " \ 72 list=$(getds_with_suffix $POOL2 @snapA) 73 list="$list $(getds_with_suffix $POOL2 @snapB)" 74 list="$list $(getds_with_suffix $POOL2 @snapC)" 75 list="$list $(getds_with_suffix $POOL2 @final)" 77 log_must eval "$ZFS receive -d -F $POOL2 < $BACKDIR/pool-init-final-IR" 78 log_must cmp_ds_cont $POOL $POOL2 81 dstds=$(get_dst_ds $POOL $POOL2) [all …]
|
H A D | rsend_003_pos.ksh | 57 log_onexit cleanup_pool $POOL2 63 log_must eval "$ZFS receive -d -F $POOL2 < $BACKDIR/pool-R" 69 log_must eval "$ZFS send -I $POOL2@psnap $POOL2/pclone@final > " \ 71 log_must $ZFS destroy -rf $POOL2/pclone 72 log_must eval "$ZFS receive -d -F $POOL2 < $BACKDIR/pool-clone-I" 73 log_must cmp_ds_subs $POOL $POOL2 74 log_must cmp_ds_cont $POOL $POOL2 77 dstds=$(get_dst_ds $POOL $POOL2) 95 ds=$POOL2/$FS 99 log_must eval "$ZFS receive -d -F $POOL2 < $BACKDIR/vol-clone-I" [all …]
|
H A D | rsend_010_pos.ksh | 57 log_onexit cleanup_pool $POOL2 59 log_must $ZFS create $POOL2/$FS 60 log_must $ZFS snapshot $POOL2/$FS@snap 65 log_must eval "$ZFS send -R $POOL2/$FS@snap > $BACKDIR/fs-R" 66 log_must eval "$ZFS receive -d -F $POOL2/$FS < $BACKDIR/fs-R" 72 list=$($ZFS list -r -H -o name -t filesystem $POOL2/$FS) 82 log_must eval "$ZFS send -R $POOL2/$FS@snap > $BACKDIR/fs-R" 83 dstds=$(get_dst_ds $POOL2/$FS $POOL2/$FS)
|
H A D | rsend_012_pos.ksh | 107 log_must cleanup_pool $POOL2 110 log_must edited_prop "set" $POOL2 115 log_must $ZFS inherit $prop $POOL2 133 log_must edited_prop "get" $POOL2 174 log_must eval "$ZFS receive -d -F $POOL2 < $BACKDIR/pool-final-R" 179 set -A pair "$POOL" "$POOL2" \ 180 "$POOL/$FS" "$POOL2/$FS" \ 181 "$POOL/$FS/fs1" "$POOL2/$FS/fs1" \ 182 "$POOL/$FS/fs1/fs2" "$POOL2/$FS/fs1/fs2" \ 183 "$POOL/pclone" "$POOL2/pclone" \ [all …]
|
H A D | rsend_001_pos.ksh | 57 log_onexit cleanup_pool $POOL2 63 log_must eval "$ZFS receive -d -F $POOL2 < $BACKDIR/pool-final-R" 65 dstds=$(get_dst_ds $POOL $POOL2) 70 log_must cleanup_pool $POOL2 76 log_must eval "$ZFS receive -d $POOL2 < $BACKDIR/fs-final-R" 78 dstds=$(get_dst_ds $POOL/$FS $POOL2)
|