/freebsd/sys/contrib/openzfs/tests/zfs-tests/tests/functional/rsend/ |
H A D | send-c_volume.ksh | 32 rm $BACKDIR/copy 46 typeset data1=$BACKDIR/file.0 47 typeset data2=$BACKDIR/file.1 52 write_compressible $BACKDIR ${megs}m 2 59 log_must eval "zfs send -c $vol@snap >$BACKDIR/full" 60 log_must eval "zfs recv -d $POOL2 <$BACKDIR/full" 62 verify_stream_size $BACKDIR/full $vol 63 verify_stream_size $BACKDIR/full $vol2 65 log_must dd if=$voldev2 of=$BACKDIR/copy bs=1024k count=$megs 66 hash=$(xxh128digest $BACKDIR/copy) [all …]
|
H A D | send_realloc_dnode_size.ksh | 47 rm -f $BACKDIR/fs-dn-legacy 48 rm -f $BACKDIR/fs-dn-1k 49 rm -f $BACKDIR/fs-dn-2k 50 rm -f $BACKDIR/fs-attr 96 log_must eval "zfs send $POOL/fs@a > $BACKDIR/fs-dn-1k" 97 log_must eval "zfs send -i $POOL/fs@a $POOL/fs@b > $BACKDIR/fs-dn-legacy" 98 log_must eval "zfs send -i $POOL/fs@b $POOL/fs@c > $BACKDIR/fs-dn-2k" 99 log_must eval "zfs send -i $POOL/fs@c $POOL/fs@d > $BACKDIR/fs-attr" 102 log_must eval "zfs recv $POOL/newfs < $BACKDIR/fs-dn-1k" 103 log_must eval "zfs recv $POOL/newfs < $BACKDIR/fs-dn-legacy" [all …]
|
H A D | send-c_incremental.ksh | 40 log_must eval "zfs send -R $POOL@final > $BACKDIR/final" 41 log_must eval "zfs receive -d -F $POOL2 < $BACKDIR/final" 52 log_must eval "zfs send -R $POOL@final > $BACKDIR/final" 53 log_must eval "zfs receive -d -F $POOL2 < $BACKDIR/final" 63 log_must eval "zfs send -c -R $opt @init $POOL2@final >$BACKDIR/pool" 65 log_must eval "zfs recv -d -F $POOL2 <$BACKDIR/pool" 75 log_must eval "zfs send -c -R $opt @init $vol@final >$BACKDIR/vol" 77 log_must eval "zfs recv -d -F $POOL2 <$BACKDIR/vol" 91 log_must eval "zfs send -c -R $opt @init $POOL2/$FS@final >$BACKDIR/fs" 93 log_must eval "zfs recv -d -F $POOL2 <$BACKDIR/fs"
|
H A D | rsend_005_pos.ksh | 54 log_must eval "zfs send -R $POOL@final > $BACKDIR/pool-final-R" 55 log_must eval "zfs receive -d -F $POOL2 < $BACKDIR/pool-final-R" 62 "$BACKDIR/pool-init-final-IR" 68 log_must eval "zfs receive -d -F $POOL2 < $BACKDIR/pool-init-final-IR" 77 "$BACKDIR/fs-init-final-IR" 84 log_must eval "zfs receive -d -F $dstds < $BACKDIR/fs-init-final-IR" 86 zfs receive -d -F $dstds < $BACKDIR/fs-init-final-IR 97 "$BACKDIR/vol-init-final-IR" 99 log_must eval "zfs receive -d -F $POOL2 < $BACKDIR/vol-init-final-IR"
|
H A D | rsend_003_pos.ksh | 53 log_must eval "zfs send -R $POOL@final > $BACKDIR/pool-R" 54 log_must eval "zfs receive -d -F $POOL2 < $BACKDIR/pool-R" 61 "$BACKDIR/pool-clone-I" 63 log_must eval "zfs receive -d -F $POOL2 < $BACKDIR/pool-clone-I" 75 "$BACKDIR/fs-clone-I" 77 log_must eval "zfs receive -F $ds/fclone < $BACKDIR/fs-clone-I" 88 "$BACKDIR/vol-clone-I" 90 log_must eval "zfs receive -d -F $POOL2 < $BACKDIR/vol-clone-I"
|
H A D | rsend_004_pos.ksh | 54 log_must eval "zfs send -R $POOL@final > $BACKDIR/pool-final-R" 55 log_must eval "zfs receive -d -F $POOL2 < $BACKDIR/pool-final-R" 67 "$BACKDIR/pool-init-final-iR" 69 log_must eval "zfs receive -d -F $POOL2 < $BACKDIR/pool-init-final-iR" 84 "$BACKDIR/fs-init-final-iR" 92 log_must eval "zfs receive -d -F $POOL2 < $BACKDIR/fs-init-final-iR" 94 zfs receive -F -d $dstds/$FS < $BACKDIR/fs-init-final-iR 109 "$BACKDIR/vol-init-final-iR" 111 log_must eval "zfs receive -d $POOL2 < $BACKDIR/vol-init-final-iR"
|
H A D | rsend_002_pos.ksh | 53 log_must eval "zfs send -R $POOL@final > $BACKDIR/pool-R" 54 log_must eval "zfs receive -d -F $POOL2 < $BACKDIR/pool-R" 61 "$BACKDIR/pool-init-final-I" 63 log_must eval "zfs receive -d -F $POOL2 < $BACKDIR/pool-init-final-I" 73 log_must eval "zfs send -I @init $dstds/$FS@final > $BACKDIR/fs-init-final-I" 75 log_must eval "zfs receive -d -F $dstds < $BACKDIR/fs-init-final-I" 85 "$BACKDIR/vol-vsnap-final-I" 88 log_must eval "zfs receive -d -F $POOL2 < $BACKDIR/vol-vsnap-final-I"
|
H A D | send-c_embedded_blocks.ksh | 40 typeset stream=$BACKDIR/stream 41 typeset dump=$BACKDIR/dump 43 typeset stream2=$BACKDIR/stream2 44 typeset dump2=$BACKDIR/dump2 92 log_must eval "zdb -ddddd $sendfs $send_obj >$BACKDIR/sendfs.zdb" 93 log_must eval "zdb -ddddd $recvfs/sendfs $recv_obj >$BACKDIR/recvfs.zdb" 94 log_must eval "zdb -ddddd $recvfs2/sendfs $recv2_obj >$BACKDIR/recvfs2.zdb" 96 grep -q "EMBEDDED" $BACKDIR/sendfs.zdb || \ 98 grep -q "EMBEDDED" $BACKDIR/recvfs.zdb || \ 100 grep -q "EMBEDDED" $BACKDIR/recvfs2.zdb || \
|
H A D | send-c_verify_ratio.ksh | 56 log_must eval "zfs send $sendfs@snap >$BACKDIR/uncompressed" 57 verify_stream_size $BACKDIR/uncompressed $sendfs 59 log_must eval "zfs send -c $sendfs@snap >$BACKDIR/compressed" 60 verify_stream_size $BACKDIR/compressed $sendfs 62 log_must rm $BACKDIR/uncompressed $BACKDIR/compressed
|
H A D | rsend_031_pos.ksh | 38 rm $BACKDIR/stream1 39 rm $BACKDIR/stream2 51 log_must eval "zfs send -Rpv $sendfs@C > $BACKDIR/stream1" 52 log_must eval "zfs receive -F $recvfs < $BACKDIR/stream1" 58 log_must eval "zfs send -Rpv -I $sendfs@A $sendfs@E > $BACKDIR/stream2" 59 log_must eval "zfs receive -Fv $recvfs < $BACKDIR/stream2"
|
H A D | send-c_zstreamdump.ksh | 50 log_must eval "zfs send -c $sendfs@full >$BACKDIR/full" 51 log_must stream_has_features $BACKDIR/full lz4 compressed 52 zstream dump -v $BACKDIR/full > $BACKDIR/dump.out 55 $BACKDIR/dump.out) 61 $BACKDIR/dump.out)
|
H A D | send_realloc_files.ksh | 45 rm -f $BACKDIR/fs@* 56 log_must eval "zfs send $POOL/fs@snap${last_snap} >$BACKDIR/fs@snap${last_snap}" 57 log_must eval "zfs recv $POOL/newfs < $BACKDIR/fs@snap${last_snap}" 90 $POOL/fs@snap${this_snap} > $BACKDIR/fs@snap${this_snap}" 93 log_must eval "zfs recv $POOL/newfs < $BACKDIR/fs@snap${this_snap}" 101 rm -f $BACKDIR/fs@snap${last_snap}
|
H A D | send-c_zstream_recompress.ksh | 52 log_must eval "zfs send $sendfs@snap >$BACKDIR/uncompressed" 53 log_must zstream recompress gzip-1 <$BACKDIR/uncompressed >$BACKDIR/compressed 54 typeset uncomp_size=$(wc -c $BACKDIR/uncompressed | awk '{print $1}') 55 typeset comp_size=$(wc -c $BACKDIR/compressed | awk '{print $1}')
|
H A D | rsend_007_pos.ksh | 75 log_must eval "zfs send -R $POOL@final > $BACKDIR/pool-final-R" 76 log_must eval "zfs receive -d -F $POOL2 < $BACKDIR/pool-final-R" 84 "$BACKDIR/pool-init-final-IR" 91 log_must eval "zfs receive -d -F $dstds < $BACKDIR/pool-init-final-IR" 93 zfs receive -d -F $dstds < $BACKDIR/pool-init-final-IR
|
H A D | send_realloc_encrypted_files.ksh | 46 rm -f $BACKDIR/fs@* 64 >$BACKDIR/fs@snap${last_snap}" 65 log_must eval "zfs recv $POOL/newfs < $BACKDIR/fs@snap${last_snap}" 98 $POOL/fs@snap${this_snap} > $BACKDIR/fs@snap${this_snap}" 101 log_must eval "zfs recv -Fu $POOL/newfs < $BACKDIR/fs@snap${this_snap}" 114 rm -f $BACKDIR/fs@snap${last_snap}
|
H A D | rsend_001_pos.ksh | 53 log_must eval "zfs send -R $POOL@final > $BACKDIR/pool-final-R" 54 log_must eval "zfs receive -d -F $POOL2 < $BACKDIR/pool-final-R" 66 log_must eval "zfs send -R $POOL/$FS@final > $BACKDIR/fs-final-R" 67 log_must eval "zfs receive -d $POOL2 < $BACKDIR/fs-final-R"
|
H A D | send-c_verify_contents.ksh | 37 log_must eval "zfs send -c -R $POOL@final > $BACKDIR/pool-final-R" 38 log_must eval "zfs receive -d -F $POOL2 < $BACKDIR/pool-final-R" 48 log_must eval "zfs send -c -R $POOL/$FS@final > $BACKDIR/fs-final-R" 49 log_must eval "zfs receive -d $POOL2 < $BACKDIR/fs-final-R"
|
H A D | rsend_010_pos.ksh | 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" 73 log_must eval "zfs send -R $POOL2/$FS@snap > $BACKDIR/fs-R" 75 log_must eval "zfs receive -d -F $dstds < $BACKDIR/fs-R"
|
/freebsd/tests/sys/cddl/zfs/tests/rsend/ |
H A D | rsend.kshlib | 111 log_must $RM -rf $BACKDIR/* 153 $ZFS list -r -H -t filesystem,snapshot,volume -o name $src_fs > $BACKDIR/src1 154 $ZFS list -r -H -t filesystem,snapshot,volume -o name $dst_fs > $BACKDIR/dst1 156 eval $SED -e 's:^$src_fs:PREFIX:g' < $BACKDIR/src1 > $BACKDIR/src 157 eval $SED -e 's:^$dst_fs:PREFIX:g' < $BACKDIR/dst1 > $BACKDIR/dst 159 $DIFF $BACKDIR/src $BACKDIR/dst 162 $RM -f $BACKDIR/src $BACKDIR/dst $BACKDIR/src1 $BACKDIR/dst1 204 $BACKDIR/dtst1 206 $BACKDIR/dtst2 209 eval $SED -e 's:$dtst1:PREFIX:g' < $BACKDIR/dtst1 > $BACKDIR/dtst1 [all …]
|
H A D | rsend_005_pos.ksh | 63 log_must eval "$ZFS send -R $POOL@final > $BACKDIR/pool-final-R" 64 log_must eval "$ZFS receive -d -F $POOL2 < $BACKDIR/pool-final-R" 71 "$BACKDIR/pool-init-final-IR" 77 log_must eval "$ZFS receive -d -F $POOL2 < $BACKDIR/pool-init-final-IR" 86 "$BACKDIR/fs-init-final-IR" 93 log_must eval "$ZFS receive -d -F $dstds < $BACKDIR/fs-init-final-IR" 95 $ZFS receive -d -F $dstds < $BACKDIR/fs-init-final-IR 106 "$BACKDIR/vol-init-final-IR" 108 log_must eval "$ZFS receive -d -F $POOL2 < $BACKDIR/vol-init-final-IR"
|
H A D | rsend_003_pos.ksh | 62 log_must eval "$ZFS send -R $POOL@final > $BACKDIR/pool-R" 63 log_must eval "$ZFS receive -d -F $POOL2 < $BACKDIR/pool-R" 70 "$BACKDIR/pool-clone-I" 72 log_must eval "$ZFS receive -d -F $POOL2 < $BACKDIR/pool-clone-I" 84 "$BACKDIR/fs-clone-I" 86 log_must eval "$ZFS receive -F $ds/fclone < $BACKDIR/fs-clone-I" 97 "$BACKDIR/vol-clone-I" 99 log_must eval "$ZFS receive -d -F $POOL2 < $BACKDIR/vol-clone-I"
|
H A D | rsend_004_pos.ksh | 63 log_must eval "$ZFS send -R $POOL@final > $BACKDIR/pool-final-R" 64 log_must eval "$ZFS receive -d -F $POOL2 < $BACKDIR/pool-final-R" 76 "$BACKDIR/pool-init-final-iR" 78 log_must eval "$ZFS receive -d -F $POOL2 < $BACKDIR/pool-init-final-iR" 93 "$BACKDIR/fs-init-final-iR" 101 log_must eval "$ZFS receive -d -F $POOL2 < $BACKDIR/fs-init-final-iR" 103 $ZFS receive -F -d $dstds/$FS < $BACKDIR/fs-init-final-iR 118 "$BACKDIR/vol-init-final-iR" 120 log_must eval "$ZFS receive -d $POOL2 < $BACKDIR/vol-init-final-iR"
|
H A D | rsend_002_pos.ksh | 62 log_must eval "$ZFS send -R $POOL@final > $BACKDIR/pool-R" 63 log_must eval "$ZFS receive -d -F $POOL2 < $BACKDIR/pool-R" 70 "$BACKDIR/pool-init-final-I" 72 log_must eval "$ZFS receive -d -F $POOL2 < $BACKDIR/pool-init-final-I" 82 log_must eval "$ZFS send -I @init $dstds/$FS@final > $BACKDIR/fs-init-final-I" 84 log_must eval "$ZFS receive -d -F $dstds < $BACKDIR/fs-init-final-I" 94 "$BACKDIR/vol-vsnap-final-I" 97 log_must eval "$ZFS receive -d -F $POOL2 < $BACKDIR/vol-vsnap-final-I"
|
H A D | rsend_007_pos.ksh | 84 log_must eval "$ZFS send -R $POOL@final > $BACKDIR/pool-final-R" 85 log_must eval "$ZFS receive -d -F $POOL2 < $BACKDIR/pool-final-R" 94 "$BACKDIR/pool-init-final-IR" 101 log_must eval "$ZFS receive -d -F $dstds < $BACKDIR/pool-init-final-IR" 103 $ZFS receive -d -F $dstds < $BACKDIR/pool-init-final-IR
|
H A D | rsend_001_pos.ksh | 62 log_must eval "$ZFS send -R $POOL@final > $BACKDIR/pool-final-R" 63 log_must eval "$ZFS receive -d -F $POOL2 < $BACKDIR/pool-final-R" 75 log_must eval "$ZFS send -R $POOL/$FS@final > $BACKDIR/fs-final-R" 76 log_must eval "$ZFS receive -d $POOL2 < $BACKDIR/fs-final-R"
|