DM-Crypt Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: artificial11000 <artificial11000@googlemail.com>
To: dm-crypt@saout.de
Subject: Re: [dm-crypt] can't open luks device after raid 5 rebuild
Date: Sun, 08 Apr 2012 22:43:34 +0200	[thread overview]
Message-ID: <4F81F876.1010909@googlemail.com> (raw)
In-Reply-To: <20120408203530.GB4029@tansi.org>

Hi guys,

thanks for your effort.
Meanwhile I had to start over and format the whole device.
I have a backup. Allthough it is not really up to date, I can work with it.

Thanks again

artificial

On 04/08/2012 10:35 PM, Arno Wagner wrote:
> On Sun, Apr 08, 2012 at 06:23:22PM +0200, artificial11000 wrote:
>> Hi,
>>
>> as I noticed that I can't access the device, I recreated the raid manually.
>>   mdadm --create --level=5 -n 3 /dev/md127 /dev/sdb /dev/sdc /dev/sdd
>>
>> Could this damage the key-slot?
>> Are the metadata of the RAID relevant to this?
>> I read that old versions of mdadm created RAIDs with metadata=0.90
>> and the newer versions with metadata=1.20.
>
> This may be an additional problem or the only problem. Metadata 0.90
> is at the end of the device. Metadata 1.20 is 4k from the start of
> the device. The other versions are in still other places.
> (I have no idea what messed up process created these thorougly
> insane changes.)
>
> So, yes, 4k offset is right in the first key-stripe. If so,
> then your data is pemanently gone unless you have a header-backup.
> In this case it is also possible that the array actually assembled
> right and the problem is _only_ the new raid metadata block.
>
> Arno
>

  reply	other threads:[~2012-04-08 20:43 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-04-08 13:04 [dm-crypt] can't open luks device after raid 5 rebuild artificial11000
2012-04-08 15:47 ` Arno Wagner
2012-04-08 16:23   ` artificial11000
2012-04-08 16:33     ` Ingo Schmitt
2012-04-08 17:09     ` Heinz Diehl
2012-04-08 20:07       ` Salatiel Filho
2012-04-08 20:28         ` Arno Wagner
2012-04-08 20:22       ` Arno Wagner
2012-04-08 20:35     ` Arno Wagner
2012-04-08 20:43       ` artificial11000 [this message]
2012-04-08 23:22         ` Arno Wagner
  -- strict thread matches above, loose matches on Subject: below --
2012-04-07 15:54 artificial11000

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4F81F876.1010909@googlemail.com \
    --to=artificial11000@googlemail.com \
    --cc=dm-crypt@saout.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox