[dm-crypt] Open raid1 with luks encryption after a raid re-create

Arno Wagner arno at wagner.name
Mon Nov 23 04:35:04 CET 2015

On Sun, Nov 22, 2015 at 23:30:23 CET, Sven Eschenberg wrote:
> Now to your question, once you know the offset of the header:
> 1.)Setup a loop device from your image (You can use an offset into
> the image where your loop device starts with sector 0) see --offset
> in losetup man page.

Ah, yes. That would save copying it.

> Inspect loopdevice if the LUKS Header now is on sector 0
> 2.)Try a cryptsetup luksopen in readonly mode

Good idea. With that it may be reasonaly safe to work
with the original disk. I still would make a full
backup before.

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