Skip to content

Commit

Permalink
WiP cryptsetup 2.6.1: Got it. --resilience=none is performance mode. …
Browse files Browse the repository at this point in the history
…No possibility to resume reencryption here. Goes 110 MiB/s down to stable 108 MiB/s on Mx500. Best I will do

Signed-off-by: Thierry Laurion <[email protected]>
  • Loading branch information
tlaurion committed Nov 29, 2023
1 parent 1b8fef4 commit 302452d
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ echo "PLACEHOLDER - Creating LUKS container on $DISK..." | tee -a /media/block_r
time cryptsetup luksFormat "$DISK" --debug --key-file /tmp/passphrase.txt | tee -a /media/block_reencrypt.log

echo "PLACEHOLDER - Reeencrypting LUKS container on $DISK..." | tee -a /media/block_reencrypt.log
time cryptsetup reencrypt "$DISK" --debug --key-file /tmp/passphrase.txt | tee -a /media/block_reencrypt.log
time cryptsetup reencrypt "$DISK" --debug --resilience=none --key-file /tmp/passphrase.txt | tee -a /media/block_reencrypt.log

echo "PLACEHOLDER - Unmounting USB drive from /media"
umount /media
Expand Down

0 comments on commit 302452d

Please sign in to comment.