mirror of
https://git.proxmox.com/git/mirror_zfs.git
synced 2026-05-25 11:47:43 +03:00
Clarify compressed zfs send/recv behavior
Docs for send and receive do not explain behavior when sending a compressed stream then receiving on a host that overrides compression with -o compress=value. The data from the send stream is written as it was from the send is the compressed form but the compression algorithm set on the receiver is the overridden version which causes some confusion as to what algorithm was actually used. Updated man docs to clarify behavior Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov> Reviewed By: Allan Jude <allanjude@freebsd.org> Signed-off-by: manfromafar <manfromafar@outlook.com> Closes #11690
This commit is contained in:
@@ -261,6 +261,16 @@ causes the property to be inherited by all descendant datasets, as through
|
||||
was run on any descendant datasets that have this property set on the
|
||||
sending system.
|
||||
.Pp
|
||||
If the send stream was sent with
|
||||
.Fl c
|
||||
then overriding the
|
||||
.Sy compression
|
||||
property will have no affect on received data but the
|
||||
.Sy compression
|
||||
property will be set. To have the data recompressed on receive remove the
|
||||
.Fl c
|
||||
flag from the send stream.
|
||||
.Pp
|
||||
Any editable property can be set at receive time. Set-once properties bound
|
||||
to the received data, such as
|
||||
.Sy normalization
|
||||
|
||||
Reference in New Issue
Block a user