zfs/tests/zfs-tests/tests/functional/cli_root/zfs_receive
Prawn 6c1a7be11e receive: don't fail inheriting (-x) properties on wrong dataset type
Receiving datasets while blanket inheriting properties like zfs 
receive -x mountpoint can generally be desirable, e.g. to avoid 
unexpected mounts on backup hosts.

Currently this will fail to receive zvols due to the mountpoint 
property being applicable to filesystems only.  This limitation 
currently requires operators to special-case their minds and tools 
for zvols.

This change gets rid of this limitation for inherit (-x) by
Spiting up the dataset type handling: Warnings for inheriting (-x), 
errors for overriding (-o).

Reviewed-by: Paul Dagnelie <pcd@delphix.com>
Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: InsanePrawn <insane.prawny@gmail.com>
Closes #11416
Closes #11840
Closes #11864
2021-05-10 12:06:11 -07:00
..
Makefile.am Always track temporary fses and snapshots for accounting 2020-08-26 21:38:27 -07:00
cleanup.ksh Add the ZFS Test Suite 2016-03-16 13:46:16 -07:00
receive-o-x_props_override.ksh receive: don't fail inheriting (-x) properties on wrong dataset type 2021-05-10 12:06:11 -07:00
setup.ksh Native Encryption for ZFS on Linux 2017-08-14 10:36:48 -07:00
zfs_receive_-e.ksh Fix ASSERT in zfs_receive_one() 2018-12-04 09:38:55 -08:00
zfs_receive_001_pos.ksh Fix typos in tests/ 2019-09-02 18:13:19 -07:00
zfs_receive_002_pos.ksh ZTS: path cleanup 2018-08-30 13:46:55 -07:00
zfs_receive_003_pos.ksh ZTS: path cleanup 2018-08-30 13:46:55 -07:00
zfs_receive_004_neg.ksh ZTS: Fix zfs_receive_004_neg 2020-02-27 09:37:34 -08:00
zfs_receive_005_neg.ksh ZTS: avoid piping to special devices 2021-01-19 11:53:35 -08:00
zfs_receive_006_pos.ksh ZTS: path cleanup 2018-08-30 13:46:55 -07:00
zfs_receive_007_neg.ksh ZTS: path cleanup 2018-08-30 13:46:55 -07:00
zfs_receive_008_pos.ksh ZTS: path cleanup 2018-08-30 13:46:55 -07:00
zfs_receive_009_neg.ksh OpenZFS 7290 - ZFS test suite needs to control what utilities it can run 2017-04-06 09:25:36 -07:00
zfs_receive_010_pos.ksh Fix some ZFS Test Suite issues 2017-09-25 10:32:34 -07:00
zfs_receive_011_pos.ksh ZTS: path cleanup 2018-08-30 13:46:55 -07:00
zfs_receive_012_pos.ksh ZTS: path cleanup 2018-08-30 13:46:55 -07:00
zfs_receive_013_pos.ksh Add `zstream redup` command to convert deduplicated send streams 2020-04-10 10:39:55 -07:00
zfs_receive_014_pos.ksh ZTS: remove duplicate check_prop_source from zfs_receive 2021-01-25 14:38:19 -08:00
zfs_receive_015_pos.ksh ZTS: path cleanup 2018-08-30 13:46:55 -07:00
zfs_receive_016_pos.ksh Add option for forcible unmounting dataset while receiving snapshot. 2020-03-17 10:08:32 -07:00
zfs_receive_from_encrypted.ksh Refactor checksum operations in tests 2019-09-05 09:51:59 -07:00
zfs_receive_from_zstd.ksh Add zstd support to zfs 2020-08-20 10:30:06 -07:00
zfs_receive_new_props.ksh Always track temporary fses and snapshots for accounting 2020-08-26 21:38:27 -07:00
zfs_receive_raw.ksh Fix noop receive of raw send stream 2019-09-05 16:22:05 -07:00
zfs_receive_raw_-d.ksh Fix encryption hierarchy issues with zfs recv -d 2019-09-25 17:02:32 -07:00
zfs_receive_raw_incremental.ksh Update ZTS to work on FreeBSD 2019-12-18 12:29:43 -08:00
zfs_receive_to_encrypted.ksh Allow unencrypted children of encrypted datasets 2019-06-20 12:29:51 -07:00
zstd_test_data.txt Add zstd support to zfs 2020-08-20 10:30:06 -07:00