From 302452df8d1f010e5403648d584505e6f02fc044 Mon Sep 17 00:00:00 2001 From: Thierry Laurion Date: Wed, 29 Nov 2023 01:44:48 -0500 Subject: [PATCH] WiP cryptsetup 2.6.1: Got it. --resilience=none is performance mode. 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 --- .../bin/test_reencrypt_block_device_with_double_confirmation.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/initrd/bin/test_reencrypt_block_device_with_double_confirmation.sh b/initrd/bin/test_reencrypt_block_device_with_double_confirmation.sh index c08a73959..90d15ee2a 100755 --- a/initrd/bin/test_reencrypt_block_device_with_double_confirmation.sh +++ b/initrd/bin/test_reencrypt_block_device_with_double_confirmation.sh @@ -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