/freebsd/sys/contrib/openzfs/tests/zfs-tests/tests/functional/rsend/ |
H A D | send_partial_dataset.ksh | 25 # 'zfs send --saved'. 29 # 2. Perform saved send without incremental 30 # 3. Perform saved send with incremental 31 # 4. Perform saved send with incremental, resuming from a token 38 "'zfs send --saved'." 58 log_must eval "zfs send $POOL/testfs2@a | zfs recv $POOL/recvfs" 59 log_must eval "zfs send -i $POOL/testfs2@a $POOL/testfs2@b > " \ 60 "/$POOL/stream/inc.send" 61 log_must eval "zfs send $POOL/testfs2@b > /$POOL/stream/full.send" 62 mess_send_file /$POOL/stream/full.send [all …]
|
H A D | send_holds.ksh | 27 # Verify 'zfs send' can send dataset holds. 32 # 2. Create a full send stream with the fs, including holds. 33 # 3. Receive the send stream and verify the data integrity. 35 # 5. Create an incremental send stream with the fs, including holds. 36 # 6. Receive the incremental send stream and verify the data integrity. 38 # 8. Create an incremental snap with no holds, and send that with -h. 88 log_assert "Verify 'zfs send/recv' can send and receive dataset holds." 109 log_note "Verify 'zfs send' can create full send stream." 127 log_must eval "zfs send -h $init_snap > $full_bkup" 129 log_note "Verify the send stream is valid to receive." [all …]
|
H A D | send_mixed_raw.ksh | 30 # 2. Perform a raw send of the first snapshot to 2 other datasets. 31 # 3. Perform a non-raw send of the second snapshot to one of 32 # the other datasets. Perform a raw send from this dataset to 34 # 4. Attempt to raw send the final snapshot of the first dataset 41 # snap1 ---raw---> snap1 --raw--> snap1 # all snaps initialized via raw send 43 # snap3 ------------raw---------> snap3 # attempt send to C (should fail) 74 log_must eval "zfs send -w $TESTPOOL/$TESTFS1@1 |" \ 77 log_must eval "zfs send -w $TESTPOOL/$TESTFS2@1 |" \ 81 log_must eval "zfs send -i $TESTPOOL/$TESTFS1@1 $TESTPOOL/$TESTFS1@2 |" \ 83 log_must eval "zfs send -w -i $TESTPOOL/$TESTFS2@1 $TESTPOOL/$TESTFS2@2 |" \ [all …]
|
H A D | send_encrypted_props.ksh | 26 # send streams. 32 # 4. Verify that 'zfs recv -x <encryption prop>' fails on a raw send stream 34 # 6. Verify that a simple send can be received as an encryption root 35 # 7. Verify that an unencrypted props send can be received as an 37 # 8. Verify that an unencrypted recursive send can be received as an 39 # 9. Verify that an unencrypted props send can be received as an 41 # 10. Verify that an unencrypted recursive send can be received as an 89 log_mustnot eval "zfs send -e $TESTPOOL/crypt/ds1 | zfs recv $TESTPOOL/recv" 92 # in via prompt because the send stream itself is using stdin. 94 log_must eval "zfs send $snap > $sendfile" [all …]
|
H A D | rsend_003_pos.ksh | 36 # zfs send -I dataset@init to clone@snap can create a clone 40 # 2. send -I pool@init to clone@snap 47 log_assert "zfs send -I send all incrementals from dataset@init to clone@snap" 53 log_must eval "zfs send -R $POOL@final > $BACKDIR/pool-R" 58 # Verify send -I backup all incrementals from pool 60 log_must eval "zfs send -I $POOL2@psnap $POOL2/pclone@final > " \ 71 # Verify send -I backup all incrementals from filesystem 74 log_must eval "zfs send -I $ds/fs2@fsnap $ds/fclone@final > " \ 84 # Verify send -I backup all incrementals from volume 87 log_must eval "zfs send -I $ds/vol@vsnap $ds/vclone@final > " \ [all …]
|
H A D | rsend_005_pos.ksh | 36 # zfs send -R -I send all the incremental between fs@init with fs@final 40 # 2. Send -R -I @init @final on pool 48 log_assert "zfs send -R -I send all the incremental between @init with @final" 54 log_must eval "zfs send -R $POOL@final > $BACKDIR/pool-final-R" 59 # Testing send -R -I from pool 61 log_must eval "zfs send -R -I @init $POOL2@final > " \ 74 # Testing send -R -I from filesystem 76 log_must eval "zfs send -R -I @init $dstds/$FS@final > " \ 93 # Testing send -I -R for volume 96 log_must eval "zfs send -R -I @init $vol@final > " \ [all …]
|
H A D | rsend_030_pos.ksh | 22 # Verify resumability of full ZFS send/receive on existing dataset 25 # 1. Start a full ZFS send with redirect output to a file 28 # 4. ZFS send to the stream state file again using the receive_resume_token 31 # 7. Repeat steps on an incremental ZFS send. It should complete 41 log_assert "Verify resumability of full ZFS send/receive on existing dataset" 46 # Full send/recv on existing dataset 48 log_must eval "zfs send -c -v $sendfs@a >/$streamfs/1" 52 log_must eval "zfs send -t $token >/$streamfs/2" 57 # Incremental send/recv 58 log_must eval "zfs send -c -v -i @a $sendfs@b >/$streamfs/3" [all …]
|
/freebsd/contrib/bc/tests/ |
H A D | history.py | 87 # Send data to a child. This makes sure the buffers are empty first. 88 # @param child The child to send data to. 89 # @param data The data to send. 90 def send(child, data): function 92 child.send(data) 110 send(child, "\n") 119 send(child, c) 156 send(child, utf8_stress_strs[idx]) 157 send(child, "\n") 160 send(chil [all...] |
/freebsd/sys/contrib/openzfs/man/man8/ |
H A D | zfs-redact.8 | 34 .Dt ZFS-SEND 8 38 .Nm zfs-send 42 .Cm send 48 .Cm send 53 .Cm send 59 .Cm send 64 .Cm send 76 .Cm send 92 Deduplicated send is no longer supported. 146 flag is used to send encrypte [all...] |
H A D | zfs-send.8 | 38 .Nm zfs-send 42 .Cm send 48 .Cm send 53 .Cm send 59 .Cm send 64 .Cm send 76 .Cm send 92 Deduplicated send is no longer supported. 146 flag is used to send encrypted datasets, then 156 to be excluded from the send stream. [all …]
|
H A D | zstream.8 | 29 .Nd manipulate ZFS send streams 54 utility manipulates ZFS send streams output by the 55 .Sy zfs send 64 Print information about the specified send stream, including headers and 66 The send stream may either be in the specified 97 Decompress selected records in a ZFS send stream provided on standard input, 133 Deduplicated send streams can be generated by using the 134 .Nm zfs Cm send Fl D 136 The ability to send deduplicated send streams is deprecated. 137 In the future, the ability to receive a deduplicated send stream with [all …]
|
H A D | zstreamdump.8 | 29 .Nd manipulate ZFS send streams 54 utility manipulates ZFS send streams output by the 55 .Sy zfs send 64 Print information about the specified send stream, including headers and 66 The send stream may either be in the specified 97 Decompress selected records in a ZFS send stream provided on standard input, 133 Deduplicated send streams can be generated by using the 134 .Nm zfs Cm send Fl D 136 The ability to send deduplicated send streams is deprecated. 137 In the future, the ability to receive a deduplicated send stream with [all …]
|
H A D | zfs-receive.8 | 90 .Nm zfs Cm send 108 .Nm zfs Cm send Fl R 114 The ability to send and receive deduplicated send streams has been removed. 115 However, a deduplicated send stream created with older software can be converted 132 property is set by the send stream, it will be overridden by forcing the 141 is a read-only property and cannot be set, it's allowed to receive the send 144 Raw encrypted send streams (created with 145 .Nm zfs Cm send Fl w ) 159 the standard input for the send stream. 162 The added security provided by raw sends adds some restrictions to the send [all …]
|
H A D | zfs-recv.8 | 90 .Nm zfs Cm send 108 .Nm zfs Cm send Fl R 114 The ability to send and receive deduplicated send streams has been removed. 115 However, a deduplicated send stream created with older software can be converted 132 property is set by the send stream, it will be overridden by forcing the 141 is a read-only property and cannot be set, it's allowed to receive the send 144 Raw encrypted send streams (created with 145 .Nm zfs Cm send Fl w ) 159 the standard input for the send stream. 162 The added security provided by raw sends adds some restrictions to the send [all …]
|
/freebsd/sys/contrib/openzfs/tests/zfs-tests/tests/functional/cli_root/zfs_send/ |
H A D | zfs_send_006_pos.ksh | 24 # Verify 'zfs send' can generate valid streams with different options 29 # 3. Create a full send streams 30 # 4. Receive the send stream 59 typeset total_size=$(zfs send $option $snapshot 2>&1 | tail -1) 61 typeset total_size=$(zfs send $option $base_snapshot $snapshot \ 86 log_fail "zfs send $options failed" 89 log_fail "zfs send $options gives wrong size estimates" 92 log_assert "Verify 'zfs send -nvP' generates valid stream estimates" 118 full_size=$(zfs send $full_snapshot 2>&1 | wc -c) 119 incremental_size=$(zfs send $incremental_snapshot 2>&1 | wc -c) [all …]
|
H A D | zfs_send_001_pos.ksh | 37 # Verify 'zfs send' can create valid send streams as expected. 41 # 2. Create a full send streams with the fs 42 # 3. Receive the send stream and verify the data integrity 44 # 5. Create an incremental send stream with the fs 45 # 6. Receive the incremental send stream and verify the data integrity. 70 log_assert "Verify 'zfs send' can create valid send streams as expected." 88 log_note "Verify 'zfs send' can create full send stream." 99 log_must eval "zfs send $init_snap > $full_bkup" 101 log_note "Verify the send stream is valid to receive." 107 log_note "Verify 'zfs send -i' can create incremental send stream." [all …]
|
H A D | zfs_send_raw.ksh | 30 # 3. Attempt a raw send of both datasets 31 # 4. Attempt a raw send with properties of both datasets 32 # 5. Attempt a raw replication send of both datasets 34 # 7. Attempt a raw send of the encrypted dataset 60 log_must eval "zfs send -w $snap > /dev/null" 61 log_must eval "zfs send -w $snap1 > /dev/null" 64 log_must eval "zfs send -wp $snap > /dev/null" 65 log_must eval "zfs send -wp $snap1 > /dev/null" 68 log_must eval "zfs send -wR $snap > /dev/null" 69 log_must eval "zfs send -wR $snap1 > /dev/null" [all …]
|
/freebsd/share/man/man4/ |
H A D | send.4 | 30 .Nm send 31 .Nd "Kernel side support for Secure Neighbor Discovery (SeND)" 52 Kernel side support for SeND consists of a kernel module with hooks that 55 send them to user space on a dedicated socket and reinject them back for 61 The native SeND socket is similar to a raw IP socket, but with its own, 94 In case that no user space application is connected to the send socket, 109 for either cryptographic protection or validation by the SeND application. 114 by the SeND options and then sent to user space for cryptographic validation. 119 of SeND options. 125 incoming SeND/ND packet ( [all …]
|
/freebsd/tests/sys/cddl/zfs/tests/cli_root/zfs_send/ |
H A D | zfs_send_001_pos.ksh | 36 # Verify 'zfs send' can create valid send streams as expected. 40 # 2. Create a full send streams with the fs 41 # 3. Receive the send stream and verify the data integrity 43 # 5. Create an incremental send stream with the fs 44 # 6. Receive the incremental send stream and verify the data integrity. 80 log_assert "Verify 'zfs send' can create valid send streams as expected." 98 log_note "Verify 'zfs send' can create full send stream." 109 $ZFS send $init_snap > $full_bkup 111 log_fail "'$ZFS send' fails to create full send" 113 log_note "Verify the send stream is valid to receive." [all …]
|
/freebsd/sys/contrib/openzfs/tests/zfs-tests/tests/functional/redacted_send/ |
H A D | redacted_origin.ksh | 25 # 1. Send A(B,C,D) to pool2. 26 # 2. Verify send from A(B, C, D) can be received onto it. 27 # 3. Verify send from A(B, C) can be received onto it. 28 # 4. Verify send from A() can be received onto it. 29 # 5. Verify send from A(E) cannot be received onto it. 30 # 6. Verify send from redaction bookmark for A(B, C) can be received onto it. 31 # 7. Verify send from redaction bookmark for A() can be received onto it. 32 # 8. Verify send from redaction bookmark for A(E) cannot be received onto it. 53 log_must eval "zfs send --redact BCD $dsA >$stream" 58 log_must eval "zfs send --redact BC $dsA >$stream" [all …]
|
/freebsd/contrib/ldns/ldns/ |
H A D | net.h.in | 29 * Contains functions to send and receive packets over a network. 34 * \param[in] qbin the ldns_buffer to be send 35 * \param[in] to the ip addr to send to 45 * Send an udp query and don't wait for an answer but return 47 * \param[in] qbin the ldns_buffer to be send 48 * \param[in] to the ip addr to send to 56 * Send an udp query and don't wait for an answer but return 60 * \param[in] qbin the ldns_buffer to be send 61 * \param[in] to the ip addr to send to 69 * Send an tcp query and don't wait for an answer but return [all …]
|
H A D | net.h | 29 * Contains functions to send and receive packets over a network. 34 * \param[in] qbin the ldns_buffer to be send 35 * \param[in] to the ip addr to send to 45 * Send an udp query and don't wait for an answer but return 47 * \param[in] qbin the ldns_buffer to be send 48 * \param[in] to the ip addr to send to 56 * Send an udp query and don't wait for an answer but return 60 * \param[in] qbin the ldns_buffer to be send 61 * \param[in] to the ip addr to send to 69 * Send an tcp query and don't wait for an answer but return [all …]
|
/freebsd/sys/contrib/openzfs/tests/zfs-tests/tests/functional/cli_root/zfs_receive/ |
H A D | zfs_receive_compressed_corrective.ksh | 26 # OpenZFS should be able to heal data using corrective recv when the send file 32 # 1. Test healing (aka corrective) recv from a full send file 33 # 2. Test healing recv (aka heal recv) from an incremental send file 36 # 5. Test heal recv when compression doesn't match between send file and on-disk 37 # 6. Test healing recv of an encrypted dataset using an unencrypted send file 38 # 7. Test healing recv (on an encrypted dataset) using a raw send file 102 # create full send file 103 log_must eval "zfs send --compressed $TESTPOOL/$TESTFS1@snap1 > $backup" 108 # create incremental send file 109 log_must eval "zfs send -c -i $TESTPOOL/$TESTFS1@snap1 \ [all …]
|
H A D | zfs_receive_large_block_corrective.ksh | 26 # OpenZFS should be able to heal data using corrective recv when the send file 32 # 1. Test healing (aka corrective) recv from a full send file 33 # 2. Test healing recv (aka heal recv) from an incremental send file 36 # 5. Test heal recv when compression doesn't match between send file and on-disk 37 # 6. Test healing recv of an encrypted dataset using an unencrypted send file 38 # 7. Test healing recv (on an encrypted dataset) using a raw send file 103 # create full send file 104 log_must eval "zfs send -L $TESTPOOL/$TESTFS1@snap1 > $backup" 109 # create incremental send file 110 log_must eval "zfs send -Li $TESTPOOL/$TESTFS1@snap1 \ [all …]
|
/freebsd/tests/sys/kern/ |
H A D | unix_seqpacket_test.c | 170 /* Send data until we get EAGAIN */ in test_eagain() 172 ssize = send(sv[0], sndbuf, pktsize, MSG_EOR); in test_eagain() 180 perror("send"); in test_eagain() 181 atf_tc_fail("send returned < 0 but not EAGAIN"); in test_eagain() 209 /* Fill the send buffer */ in test_sendrecv_symmetric_buffers() 212 /* send and receive the packet */ in test_sendrecv_symmetric_buffers() 213 ssize = send(sv[0], sndbuf, pktsize, MSG_EOR); in test_sendrecv_symmetric_buffers() 215 perror("send"); in test_sendrecv_symmetric_buffers() 216 atf_tc_fail("send returned < 0"); in test_sendrecv_symmetric_buffers() 218 ATF_CHECK_EQ_MSG(pktsize, ssize, "expected %zd=send(...) but got %zd", in test_sendrecv_symmetric_buffers() [all …]
|