Skip to content

Commit e110960

Browse files
committed
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 <[email protected]>
1 parent 4958663 commit e110960

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

initrd/bin/test_reencrypt_block_device_with_double_confirmation.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ echo "PLACEHOLDER - Creating LUKS container on $DISK..." | tee -a /media/block_r
2727
time cryptsetup luksFormat "$DISK" --debug --key-file /tmp/passphrase.txt | tee -a /media/block_reencrypt.log
2828

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

3232
echo "PLACEHOLDER - Unmounting USB drive from /media"
3333
umount /media

0 commit comments

Comments
 (0)