[dm-crypt] migrate luks key-slots to another luks container

Arno Wagner arno at wagner.name
Wed Jan 16 22:54:02 CET 2013


On Wed, Jan 16, 2013 at 10:29:31PM +0100, Alexander 'Leo' Bergolth wrote:
> Am 16.01.2013 22:08, schrieb Arno Wagner:
> >Ah, that makes sense. However, do you actually need this
> >alignment? If yor filesystem has, say, 4kB blocks and your
> >stripe-size is a multiple of that, it will be aligned anyways.
> 
> Unfortunately this isn't easy to achieve if you are using raid5 or 6.
> I am moving to a raid6 with 5 disks using 64k chunksize. 64k chunks
> multiplied by the number of data bearing disks (3) results in a
> stripe width of 192k (=384 blocks). Thus I guess I should use
> --align-payload=384. The current setting is different and even the
> default of 1MiB isn't a multiple of that value.
> 
> Anyway, is the migration of keyslots possible in my case?

As Milan said, no.

Arno
-- 
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
----
One of the painful things about our time is that those who feel certainty
are stupid, and those with any imagination and understanding are filled
with doubt and indecision. -- Bertrand Russell


More information about the dm-crypt mailing list