From 543ab04cc3e21dc40697b9775ac91660897bcaf2 Mon Sep 17 00:00:00 2001 From: Rich Ercolani <214141+rincebrain@users.noreply.github.com> Date: Tue, 5 Oct 2021 14:48:17 -0400 Subject: [PATCH] Document additional -c caveat One might expect "send data as it is on disk, and cannot trigger compression changes" to imply "does not attempt to compress data that was not compressed on the sender." One would be mistaken. Reviewed-by: Brian Behlendorf Signed-off-by: Rich Ercolani Closes #12570 --- man/man8/zfs-send.8 | 3 +++ 1 file changed, 3 insertions(+) diff --git a/man/man8/zfs-send.8 b/man/man8/zfs-send.8 index 688bd0339..e83a92e4b 100644 --- a/man/man8/zfs-send.8 +++ b/man/man8/zfs-send.8 @@ -198,6 +198,9 @@ will not have their data recompressed on the receiver side using .Fl o Sy compress Ns = Ar value . The data will stay compressed as it was from the sender. The new compression property will be set for future data. +Note that uncompressed data from the sender will still attempt to +compress on the receiver, unless you specify +.Fl o Sy compress Ns = Em off . .It Fl w , -raw For encrypted datasets, send data exactly as it exists on disk. This allows backups to be taken even if encryption keys are not currently loaded.