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

Arno Wagner arno at wagner.name
Fri Mar 14 14:22:57 CET 2014

I doubt it. Restore your backup. (And meditate on
the wisdom of those that have recomended it...).

The IO error is worrying though, it should _not_ happen.
Have a look into the system error log to see if this is 
some lower-level error. It may also be some problem 
with your LVM setup. (I cannot help there, in my opinion
LVM is too complicated and causes more trouble than it
has benefits.)


On Fri, Mar 14, 2014 at 08:59:28 CET, PePa wrote:
> 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
> Output>:
> Device /dev/sda4 is not a valid LUKS device.
> :-( Is there anything I can still try to salvage this situation??
> Thanks,
> Peter
> _______________________________________________
> dm-crypt mailing list
> dm-crypt at saout.de
> http://www.saout.de/mailman/listinfo/dm-crypt

Arno Wagner,     Dr. sc. techn., Dipl. Inform.,    Email: arno at wagner.name
GnuPG: ID: CB5D9718  FP: 12D6 C03B 1B30 33BB 13CF  B774 E35C 5FA1 CB5D 9718
A good decision is based on knowledge and not on numbers. -  Plato

More information about the dm-crypt mailing list