Replies: 1 comment 12 replies
-
If you are using encrypted replication, then you can't change anything, receive side blocks will be exactly the same as source, may only participate in dedup, since it works on different layer. If replication is compressed but not encrypted, receiving side may have different indirect block sizes and few other things, but block will be the same, including original compression. If replication is neither compressed nor encrypted, then receiving side may have different compression settings, but block sizes should remain the same unless you are looking for troubles. |
Beta Was this translation helpful? Give feedback.
12 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I have a question regarding commands parameters, because it's not clear from the documentation.
I have a huge pool build up with backup snapshots for years. It has one encrypted dataset, root is not encrypted.
The pool is stored on a separate disk, no raid or anything, I utilize ZFS snapshots and compression capabilities for backup purposes only.
I want to rewrite the entire pool and dedup its contents with support of dedup special dev on SSD.
Questions:
Answers:
zfs recv -o encryption=aes-256-gcm -o keyformat=passphrase -o keylocation=file:///testfile -o dedup=verify -o recordsize=1M -o compression=zstd-10 -o atime=off -o relatime=on main/test2
then
sudo zfs send --large-block -I main/test1@snap{,2} | sudo zfs recv -F main/test2
do not change recordsize on test1 because if will reduce de-duplication effect.
Beta Was this translation helpful? Give feedback.
All reactions