[dm-crypt] cryptsetup-reencode: LUKS-${UUID}.new is too small

PePa peter at passchier.net
Fri Mar 14 08:59:28 CET 2014

Reporting back, I did:
cryptsetup-reencrypt -c aes-xts-plain64 -s 512 -h sha512
--reduce-device-size 4MiB /dev/sda4

It stopped here:
Progress: 99.4%, ETA 02:48, 710848 MiB written, speed 27.0 MiB/s
IO error during reencryption.

Curiously, I did:
cryptsetup luksOpen /dev/sda4 secret

Device /dev/sda4 is not a valid LUKS device.

:-( Is there anything I can still try to salvage this situation??


More information about the dm-crypt mailing list