Searched refs:POOL2 (Results 1 - 25 of 74) sorted by relevance

123

/freebsd-13-stable/sys/contrib/openzfs/tests/zfs-tests/tests/functional/redacted_send/
H A Dredacted_origin.ksh46 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/BCDr
[all...]
H A Dredacted_incrementals.ksh34 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 diff -r /$POOL/stride3 /$POOL2/rstride3
56 log_must eval "zfs recv $POOL2/rstride5 <$stream"
57 log_must diff -r /$POOL/stride5 /$POOL2/rstride5
61 log_mustnot eval "zfs recv $POOL2/rhole@snap <$stream"
67 log_must eval "zfs recv $POOL2/rin
[all...]
H A Dredacted_disabled_feature.ksh35 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
[all...]
H A Dcleanup.ksh30 destroy_pool $POOL2
H A Dsetup.ksh33 create_pool $POOL2 $DISK2
34 log_must zfs snapshot $POOL2@init
/freebsd-13-stable/sys/contrib/openzfs/tests/zfs-tests/tests/functional/rsend/
H A Dsend-c_incremental.ksh35 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
[all...]
H A Drsend_002_pos.ksh48 log_onexit cleanup_pool $POOL2
51 # Duplicate 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
[all...]
H A Drsend_003_pos.ksh48 log_onexit cleanup_pool $POOL2
51 # Duplicate 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)
[all...]
H A Drsend_004_pos.ksh49 log_onexit cleanup_pool $POOL2
52 # Duplicate POOL2 for testing
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
[all...]
H A Drsend_010_pos.ksh48 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 Drsend_001_pos.ksh40 # 2. Verify all the datasets and data can be recovered in POOL2
41 # 3. Back up all the data from root filesystem POOL2
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)
60 # Cleanup 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 Dsend-c_verify_contents.ksh26 # 2. Verify all the datasets and data can be recovered in POOL2
27 # 3. Back up all the data from root filesystem POOL2
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)
44 # Cleanup 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 Drsend_005_pos.ksh49 log_onexit cleanup_pool $POOL2
52 # Duplicate POOL2 for testing
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
[all...]
H A Drsend_014_pos.ksh34 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 Dsend-c_props.ksh37 destroy_pool $POOL2
39 log_must zpool create $POOL2 $DISK2
56 log_must eval "zfs receive -d -F $POOL2 < $BACKDIR/pool-final$opt"
59 log_must cmp_ds_prop $POOL$ds $POOL2$ds
60 log_must cmp_ds_prop $POOL$ds@final $POOL2$ds@final
H A Dsend-c_lz4_disabled.ksh36 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 Dcleanup.ksh38 destroy_pool $POOL2
42 cleanup_pool $POOL2
H A Drsend_013_pos.ksh52 cleanup_pool $POOL2
64 # Duplicate POOL2 for testing
67 log_must eval "zfs receive -dF $POOL2 < $BACKDIR/pool-final-R"
79 log_must eval "zfs receive -dF $POOL2 < $BACKDIR/pool-final-destroy-IR"
81 dstds=$(get_dst_ds $POOL $POOL2)
/freebsd-13-stable/tests/sys/cddl/zfs/tests/rsend/
H A Drsend_002_pos.ksh62 log_onexit cleanup_pool $POOL2
65 # Duplicate POOL2
68 log_must eval "$ZFS receive -d -F $POOL2 < $BACKDIR/pool-R"
74 log_must eval "$ZFS send -I $POOL2@init $POOL2@final > " \
76 log_must destroy_tree $POOL2@final $POOL2@snapC $POOL2@snapA
77 log_must eval "$ZFS receive -d -F $POOL2 < $BACKDIR/pool-init-final-I"
78 log_must cmp_ds_subs $POOL $POOL2
[all...]
H A Drsend_003_pos.ksh62 log_onexit cleanup_pool $POOL2
65 # Duplicate POOL2
68 log_must eval "$ZFS receive -d -F $POOL2 < $BACKDIR/pool-R"
74 log_must eval "$ZFS send -I $POOL2@psnap $POOL2/pclone@final > " \
76 log_must $ZFS destroy -rf $POOL2/pclone
77 log_must eval "$ZFS receive -d -F $POOL2 < $BACKDIR/pool-clone-I"
78 log_must cmp_ds_subs $POOL $POOL2
79 log_must cmp_ds_cont $POOL $POOL2
82 dstds=$(get_dst_ds $POOL $POOL2)
[all...]
H A Drsend_004_pos.ksh63 log_onexit cleanup_pool $POOL2
66 # Duplicate POOL2 for testing
69 log_must eval "$ZFS receive -d -F $POOL2 < $BACKDIR/pool-final-R"
75 srclist=$(getds_with_suffix $POOL2 @final)
76 interlist="$srclist $(getds_with_suffix $POOL2 @snapC)"
77 interlist="$interlist $(getds_with_suffix $POOL2 @snapB)"
78 interlist="$interlist $(getds_with_suffix $POOL2 @snapA)"
80 log_must eval "$ZFS send -R -i @init $POOL2@final > " \
83 log_must eval "$ZFS receive -d -F $POOL2 < $BACKDIR/pool-init-final-iR"
86 dstlist=$(getds_with_suffix $POOL2
[all...]
H A Drsend_010_pos.ksh62 log_onexit cleanup_pool $POOL2
64 log_must $ZFS create $POOL2/$FS
65 log_must $ZFS snapshot $POOL2/$FS@snap
70 log_must eval "$ZFS send -R $POOL2/$FS@snap > $BACKDIR/fs-R"
71 log_must eval "$ZFS receive -d -F $POOL2/$FS < $BACKDIR/fs-R"
77 list=$($ZFS list -r -H -o name -t filesystem $POOL2/$FS)
87 log_must eval "$ZFS send -R $POOL2/$FS@snap > $BACKDIR/fs-R"
88 dstds=$(get_dst_ds $POOL2/$FS $POOL2/$FS)
H A Drsend_001_pos.ksh45 # 2. Verify all the datasets and data can be recovered in POOL2
46 # 3. Back up all the data from root filesystem POOL2
62 log_onexit cleanup_pool $POOL2
68 log_must eval "$ZFS receive -d -F $POOL2 < $BACKDIR/pool-final-R"
70 dstds=$(get_dst_ds $POOL $POOL2)
74 # Cleanup POOL2
75 log_must cleanup_pool $POOL2
81 log_must eval "$ZFS receive -d $POOL2 < $BACKDIR/fs-final-R"
83 dstds=$(get_dst_ds $POOL/$FS $POOL2)
H A Drsend_005_pos.ksh63 log_onexit cleanup_pool $POOL2
66 # Duplicate POOL2 for testing
69 log_must eval "$ZFS receive -d -F $POOL2 < $BACKDIR/pool-final-R"
75 log_must eval "$ZFS send -R -I @init $POOL2@final > " \
77 list=$(getds_with_suffix $POOL2 @snapA)
78 list="$list $(getds_with_suffix $POOL2 @snapB)"
79 list="$list $(getds_with_suffix $POOL2 @snapC)"
80 list="$list $(getds_with_suffix $POOL2 @final)"
82 log_must eval "$ZFS receive -d -F $POOL2 < $BACKDIR/pool-init-final-IR"
83 log_must cmp_ds_cont $POOL $POOL2
[all...]
H A Dcleanup.ksh46 destroy_pool $POOL2
49 cleanup_pool $POOL2

Completed in 173 milliseconds

123