Home
last modified time | relevance | path

Searched full:pool2 (Results 1 – 25 of 96) sorted by relevance

1234

/freebsd/sys/contrib/openzfs/tests/zfs-tests/tests/functional/rsend/
H A Dsend_encrypted_hierarchy.ksh43 log_must cleanup_pool $POOL2
61 log_must eval "zfs receive -d -F $POOL2 < $BACKDIR/fs-before-R"
62 dstds=$(get_dst_ds $POOL/$FS $POOL2)
65 log_must verify_encryption_root $POOL2/$FS $POOL2/$FS
66 log_must verify_keylocation $POOL2/$FS "prompt"
67 log_must verify_origin $POOL2/$FS "-"
69 log_must verify_encryption_root $POOL2/clone $POOL2/$FS
70 log_must verify_keylocation $POOL2/clone "none"
71 log_must verify_origin $POOL2/clone "$POOL2/$FS@snap"
74 log_must verify_encryption_root $POOL2/$FS/child $POOL2/$FS
[all …]
H A Dsend-c_incremental.ksh36 log_onexit cleanup_pool $POOL2
42 log_must eval "zfs receive -d -F $POOL2 < $BACKDIR/final"
46 log_must cmp_ds_cont $POOL $POOL2
47 [[ $opt = "-I" ]] && log_must cmp_ds_subs $POOL $POOL2
48 [[ $opt = "-i" ]] && log_mustnot cmp_ds_subs $POOL $POOL2
52 cleanup_pool $POOL2
54 log_must eval "zfs receive -d -F $POOL2 < $BACKDIR/final"
59 final=$(getds_with_suffix $POOL2 @final)
60 list="$final $(getds_with_suffix $POOL2 @snapA)"
61 list="$list $(getds_with_suffix $POOL2 @snapB)"
[all …]
H A Drsend_004_pos.ksh50 log_onexit cleanup_pool $POOL2
53 # Duplicate POOL2 for testing
56 log_must eval "zfs receive -d -F $POOL2 < $BACKDIR/pool-final-R"
62 srclist=$(getds_with_suffix $POOL2 @final)
63 interlist="$srclist $(getds_with_suffix $POOL2 @snapC)"
64 interlist="$interlist $(getds_with_suffix $POOL2 @snapB)"
65 interlist="$interlist $(getds_with_suffix $POOL2 @snapA)"
67 log_must eval "zfs send -R -i @init $POOL2@final > " \
70 log_must eval "zfs receive -d -F $POOL2 < $BACKDIR/pool-init-final-iR"
73 dstlist=$(getds_with_suffix $POOL2 @final)
[all …]
H A Drsend_002_pos.ksh40 # 1. Create several snapshots in pool2
49 log_onexit cleanup_pool $POOL2
52 # Duplicate POOL2
55 log_must eval "zfs receive -d -F $POOL2 < $BACKDIR/pool-R"
61 log_must eval "zfs send -I $POOL2@init $POOL2@final > " \
63 log_must destroy_tree $POOL2@final $POOL2@snapC $POOL2@snapA
64 log_must eval "zfs receive -d -F $POOL2 < $BACKDIR/pool-init-final-I"
65 log_must cmp_ds_subs $POOL $POOL2
66 log_must cmp_ds_cont $POOL $POOL2
69 dstds=$(get_dst_ds $POOL $POOL2)
[all …]
H A Drsend_003_pos.ksh49 log_onexit cleanup_pool $POOL2
52 # Duplicate POOL2
55 log_must eval "zfs receive -d -F $POOL2 < $BACKDIR/pool-R"
61 log_must eval "zfs send -I $POOL2@psnap $POOL2/pclone@final > " \
63 log_must_busy zfs destroy -rf $POOL2/pclone
64 log_must eval "zfs receive -d -F $POOL2 < $BACKDIR/pool-clone-I"
65 log_must cmp_ds_subs $POOL $POOL2
66 log_must cmp_ds_cont $POOL $POOL2
69 dstds=$(get_dst_ds $POOL $POOL2)
87 ds=$POOL2/$FS
[all …]
H A Drsend_005_pos.ksh50 log_onexit cleanup_pool $POOL2
53 # Duplicate POOL2 for testing
56 log_must eval "zfs receive -d -F $POOL2 < $BACKDIR/pool-final-R"
62 log_must eval "zfs send -R -I @init $POOL2@final > " \
64 list=$(getds_with_suffix $POOL2 @snapA)
65 list="$list $(getds_with_suffix $POOL2 @snapB)"
66 list="$list $(getds_with_suffix $POOL2 @snapC)"
67 list="$list $(getds_with_suffix $POOL2 @final)"
69 log_must eval "zfs receive -d -F $POOL2 < $BACKDIR/pool-init-final-IR"
70 log_must cmp_ds_cont $POOL $POOL2
[all …]
H A Drsend_012_pos.ksh40 # 3. Restore all the data in POOL2
75 log_must cleanup_pool $POOL2
78 log_must edited_prop "set" $POOL2
83 log_must zfs inherit $prop $POOL2
98 log_must edited_prop "get" $POOL2
136 # Duplicate POOL2 for testing
139 log_must eval "zfs receive -d -F $POOL2 < $BACKDIR/pool-final-R"
142 # Define all the POOL/POOL2 datasets pair
144 set -A pair "$POOL" "$POOL2" \
145 "$POOL/$FS" "$POOL2/$FS" \
[all …]
H A Dsend-c_verify_contents.ksh27 # 2. Verify all the datasets and data can be recovered in POOL2
28 # 3. Back up all the data from root filesystem POOL2
35 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 # Cleanup POOL2
46 log_must cleanup_pool $POOL2
50 log_must eval "zfs receive -d $POOL2 < $BACKDIR/fs-final-R"
52 dstds=$(get_dst_ds $POOL/$FS $POOL2)
H A Drsend_001_pos.ksh41 # 2. Verify all the datasets and data can be recovered in POOL2
42 # 3. Back up all the data from root filesystem POOL2
49 log_onexit cleanup_pool $POOL2
55 log_must eval "zfs receive -d -F $POOL2 < $BACKDIR/pool-final-R"
57 dstds=$(get_dst_ds $POOL $POOL2)
61 # Cleanup POOL2
62 log_must cleanup_pool $POOL2
68 log_must eval "zfs receive -d $POOL2 < $BACKDIR/fs-final-R"
70 dstds=$(get_dst_ds $POOL/$FS $POOL2)
H A Drsend_010_pos.ksh49 log_onexit cleanup_pool $POOL2
51 log_must zfs create $POOL2/$FS
52 log_must zfs snapshot $POOL2/$FS@snap
57 log_must eval "zfs send -R $POOL2/$FS@snap > $BACKDIR/fs-R"
58 log_must eval "zfs receive -d -F $POOL2/$FS < $BACKDIR/fs-R"
64 list=$(zfs list -r -H -o name -t filesystem $POOL2/$FS)
74 log_must eval "zfs send -R $POOL2/$FS@snap > $BACKDIR/fs-R"
75 dstds=$(get_dst_ds $POOL2/$FS $POOL2/$FS)
H A Drsend_014_pos.ksh27 # 1. Make the source pool readonly, and receive it into pool2.
28 # 2. Reset pool2, and repeat the send from a non-root fs of the source pool.
35 log_onexit cleanup_pool $POOL2
40 log_must eval "zfs receive -d -F $POOL2 < $BACKDIR/pool-final-R"
42 dstds=$(get_dst_ds $POOL $POOL2)
46 log_must cleanup_pool $POOL2
49 log_must eval "zfs receive -d $POOL2 < $BACKDIR/fs-final-R"
53 dstds=$(get_dst_ds $POOL/$FS $POOL2)
H A Dsend-c_lz4_disabled.ksh37 typeset send_ds=$POOL2/testds
42 poolexists $POOL2 && destroy_pool $POOL2
44 log_must zpool create $POOL2 $DISK2
48 datasetexists $POOL2 && log_must zpool destroy $POOL2
49 log_must zpool create -d $POOL2 $DISK2
H A Drsend_025_pos.ksh49 cleanup_pool $POOL2
67 log_must eval "zfs receive -d -F $POOL2 < $BACKDIR/presend"
72 log_must datasetexists $POOL2/$ds
75 log_must_busy zfs destroy -r $POOL2
78 log_must eval "zfs receive -d -F $POOL2 < $BACKDIR/presend"
82 log_must datasetexists $POOL2/$ds
87 log_must datasetnonexists $POOL2/$ds
/freebsd/sys/contrib/openzfs/tests/zfs-tests/tests/functional/redacted_send/
H A Dredacted_incrementals.ksh35 typeset recvfs="$POOL2/$ds_name"
42 typeset recv_mnt="/$POOL2/$ds_name"
44 log_onexit redacted_cleanup $sendfs $recvfs $POOL2/rfs
50 log_must eval "zfs receive $POOL2/rfs <$stream"
54 log_must eval "zfs recv $POOL2/rstride3 <$stream"
55 log_must directory_diff /$POOL/stride3 /$POOL2/rstride3
57 log_must eval "zfs recv $POOL2/rstride5 <$stream"
58 log_must directory_diff /$POOL/stride5 /$POOL2/rstride5
62 log_mustnot eval "zfs recv $POOL2/rhole@snap <$stream"
68 log_must eval "zfs recv $POOL2/rint <$stream"
[all …]
H A Dredacted_origin.ksh26 # 1. Send A(B,C,D) to pool2.
47 typeset targ=$POOL2/targfs@snap
49 log_onexit redacted_cleanup $sendfs $POOL2/rBCD $POOL2/targfs \
50 $POOL2/rBC $POOL2/rE
55 log_must eval "zfs receive $POOL2/rBCD <$stream"
60 log_must eval "zfs receive $POOL2/rBC <$stream"
64 log_must eval "zfs receive $POOL2/rE <$stream"
67 log_must eval "zfs receive -o origin=$POOL2/rBCD@snap0 $POOL2/BCDrF <$stream"
68 log_must eval "zfs receive -o origin=$POOL2/rBC@snap0 $POOL2/BCrF <$stream"
69 log_must eval "zfs receive -o origin=$POOL2/rE@snap0 $POOL2/ErF <$stream"
[all …]
H A Dredacted_mixed_recsize.ksh38 log_onexit redacted_cleanup $POOL/512 $POOL/1m $POOL2/512 $POOL2/1m
60 log_must zfs create -o recsize=512 $POOL2/512
61 log_must zfs create -o recsize=1m $POOL2/1m
66 log_must eval "zfs recv $POOL2/512/recva <$stream"
67 compare_files $POOL/512 $POOL2/512/recva "f1" "$RANGE13"
68 log_must eval "zfs recv $POOL2/1m/recvb <$stream"
69 compare_files $POOL/512 $POOL2/1m/recvb "f1" "$RANGE13"
73 log_must eval "zfs recv $POOL2/512/recvc <$stream"
74 compare_files $POOL/1m $POOL2/512/recvc "f1" "$RANGE11"
75 log_must eval "zfs recv $POOL2/1m/recvd <$stream"
[all …]
H A Dredacted_disabled_feature.ksh36 typeset sendfs1="$POOL2/${ds_name}1"
37 typeset recvfs="$POOL2/$ds_name"
39 typeset clone1="$POOL2/${ds_name}_clone1"
46 destroy_pool $POOL2
47 create_pool $POOL2 $DISK2
48 log_must zfs snapshot $POOL2@init
54 destroy_pool $POOL2
55 log_must zpool create -d $POOL2 $DISK2
63 log_must zpool set feature@redaction_bookmarks=enabled $POOL2
69 log_must zpool set feature@redacted_datasets=enabled $POOL2
/freebsd/tests/sys/cddl/zfs/tests/rsend/
H A Drsend_004_pos.ksh58 log_onexit cleanup_pool $POOL2
61 # Duplicate POOL2 for testing
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)
[all …]
H A Drsend_002_pos.ksh39 # 1. Create several snapshots in pool2
57 log_onexit cleanup_pool $POOL2
60 # Duplicate 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)
[all …]
H A Drsend_005_pos.ksh58 log_onexit cleanup_pool $POOL2
61 # Duplicate POOL2 for testing
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
[all …]
H A Drsend_003_pos.ksh57 log_onexit cleanup_pool $POOL2
60 # Duplicate 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
[all …]
H A Drsend_012_pos.ksh41 # 3. Restore all the data in POOL2
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
171 # Duplicate POOL2 for testing
174 log_must eval "$ZFS receive -d -F $POOL2 < $BACKDIR/pool-final-R"
177 # Define all the POOL/POOL2 datasets pair
179 set -A pair "$POOL" "$POOL2" \
180 "$POOL/$FS" "$POOL2/$FS" \
[all …]
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
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)
69 # Cleanup 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)
H A Drsend_010_pos.ksh57 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)
/freebsd/sys/contrib/openzfs/tests/zfs-tests/tests/functional/cli_root/zpool_iostat/
H A Dzpool_iostat_interval_all.ksh41 poolexists pool2 && destroy_pool pool2
60 log_must zpool create pool2 $vdev2
68 expect_iostat "POOL2"
69 log_must zpool import -d $vdev2 pool2
78 expect_iostat "POOL2"
83 log_must zpool destroy pool2

1234