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

PePa peter at passchier.net
Wed Mar 12 00:16:19 CET 2014

I'm a big fan of dm-crypt/luks.
I'm trying to reencode a crypto_LUKS partition from -c aes-cbc-plain -s 128
-h sha1
like this:
cryptsetup-reencrypt -c twofish-xts-plain64 -s 512 -h sha512 -i 2000 -B 32

Output I'm getting:
Device LUKS-71a94fa6-9c84-45d7-80e8-ee61be3887e0.new is too small.
Creation of LUKS backup headers failed.

On it is a Physical lvm2-volume that could be shrunken. Is it just a matter
of doing that? How much more space is needed??

More information about the dm-crypt mailing list