[dm-crypt] Incidentaly partitioned LUKS device - header lost?

Arno Wagner arno at wagner.name
Sat Jul 2 18:14:56 CEST 2016

Hi Bernd,

On Sat, Jul 02, 2016 at 12:42:27 CEST, Bernd Brägelmann wrote:
> Hi Arno,
> thanks for answering. I created the partition table within /dev/md2 and
> the raid is still working.

Ok, so we ignore the RAID.
> My current last hope is that the salt might be in a redundant part of
> the raid array. 

Those will have gotten synced immediately, RAID inconsistencies
live only for as long as they are in the write queue. No hope 

Ok, the LUKS superblock (or what is left of it) will be at
the start of /dev/md2. Can you post the following (will
not compromise your datta, that is protected by the 

  head -c 1k /dev/md2 | hd

This allows a manual look of what is left of the LUKS header.


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

If it's in the news, don't worry about it.  The very definition of 
"news" is "something that hardly ever happens." -- Bruce Schneier

More information about the dm-crypt mailing list