All of lore.kernel.org
 help / color / mirror / Atom feed
[parent not found: <mailman.1.1455879602.30698.dm-crypt@saout.de>]
* [dm-crypt] yet another header reconstruction question
@ 2016-02-16 11:32 Florian Dotzer
  2016-02-16 12:01 ` Michael Kjörling
  2016-02-16 15:01 ` Arno Wagner
  0 siblings, 2 replies; 12+ messages in thread
From: Florian Dotzer @ 2016-02-16 11:32 UTC (permalink / raw)
  To: dm-crypt

sent again as text. sorry for HTML input. hopefully it is more readable now . 

Dear Readers of the List .
 
I had a encrypted RAID 5 on my QNAP Device  in /dev/md0.
 
It worked without any problems for about 6 years . 
But space went low and desaster began.
After adding a disk , mdadm had overwritten the 
header (block device /dev/md0 ) like this :
 
6d 64 61 64 6d 3a 20 61 64 64 65 64 20 2f 64 65  mdadm: added /de
76 2f 73 64 63 33 0a 00 00 00 00 00 00 00 00 00  v/sdc3..........
00 00 00 00 00 00 00 00 63 62 63 2d 70 6c 61 69  ........cbc-plai
6e 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  n...............
00 00 00 00 00 00 00 00 73 68 61 31 00 00 00 00  ........sha1....
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................
00 00 00 00 00 00 00 00 00 00 08 08 00 00 00 20  ...............
bc 31 80 6d da a4 f0 5c ed 9f 24 96 fc 1b 72 6a
 
According to the documentation on-disk-format ,
magic (LUKS 0xba 0xbe )  , version and cipher name 
seem to be overwritten.
 
I'd like to know the possible versions ( 00 01 ? ) and cipher names 
(aes ?) in order to be able to reconstruct the header (fingers crossed )
 
user support from vendor QNAP tried an hour claiming 
'fs super block could not be found'
and finally redirected me to 'commercial $$$upport' . 
 
QNAP advertised my Box with 
'Disks can be AES-encrypted with 256 bit " so
I suspect its something related with aes .
 
(And no , I had no header backup, Ahhh !)
 
Any helpful reply is welcome . 
And yes , I will make backups in the future . ;-))
 
Greetings , Florian

^ permalink raw reply	[flat|nested] 12+ messages in thread
* [dm-crypt] Yet another header reconstruction question
@ 2016-02-15 16:07 Florian Dotzer
  2016-02-15 17:04 ` Arno Wagner
  0 siblings, 1 reply; 12+ messages in thread
From: Florian Dotzer @ 2016-02-15 16:07 UTC (permalink / raw)
  To: dm-crypt

[-- Attachment #1: Type: text/html, Size: 2748 bytes --]

^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2016-02-24 16:24 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <mailman.1.1455706801.5962.dm-crypt@saout.de>
2016-02-18  8:51 ` [dm-crypt] yet another header reconstruction question Florian Dotzer
2016-02-18  9:34   ` Michael Kjörling
2016-02-18 10:26     ` Sven Eschenberg
2016-02-18 12:53   ` Robert Nichols
     [not found] <mailman.1.1455879602.30698.dm-crypt@saout.de>
2016-02-24  8:43 ` Florian Dotzer
2016-02-24 16:24   ` Arno Wagner
2016-02-16 11:32 Florian Dotzer
2016-02-16 12:01 ` Michael Kjörling
2016-02-16 15:01 ` Arno Wagner
2016-02-16 19:41   ` Sven Eschenberg
  -- strict thread matches above, loose matches on Subject: below --
2016-02-15 16:07 [dm-crypt] Yet " Florian Dotzer
2016-02-15 17:04 ` Arno Wagner

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.