All of lore.kernel.org
 help / color / mirror / Atom feed
From: Adam Ryczkowski <adam.ryczkowski@statystyka.net>
To: linux-raid@vger.kernel.org
Subject: What parameters to mdadm, to re-create md device with payload starting at 0x22000 position on backing storage?
Date: Mon, 17 Sep 2012 09:00:14 +0200	[thread overview]
Message-ID: <5056CA7E.5040303@statystyka.net> (raw)

I try to recover from mdadm raid disaster, which happened when moving 
from ubuntu server 10.04 to 12.04. I know the correct order of devices 
from dmesg log, but given this information, I still cannot access the data.

The superblocks look messy; the mdadm --examine for each disk is on 
http://askubuntu.com/questions/186666/mdadm-fails-after-10-04-12-04-upgrade

By inspecting the raw contents of backing storage, I found the beginning 
of my data (the LUKS container in my case) starts at position 0x22000 
relative to the beginning of the first partition in the raid, .i.e. 
/dev/sdb6.

Question: What is the combination of options issued to "mdadm --create" 
to re-create mdadm that starts with the given offset? Bitmap size?

The relevant information from syslog when the system was healthy are 
pasted here: http://pastebin.com/9KKaXXiU

P.S. This question, like the previous one, is a copy from my question on 
Serverfault.com: 
http://serverfault.com/questions/427683/what-parameters-to-mdadm-to-re-create-md-device-with-payload-starting-at-0x2200

Yours,

Adam Ryczkowski
Skype:sisteczko

             reply	other threads:[~2012-09-17  7:00 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-09-17  7:00 Adam Ryczkowski [this message]
2012-09-17 17:49 ` What parameters to mdadm, to re-create md device with payload starting at 0x22000 position on backing storage? Robin Hill
2012-09-18  6:53   ` Adam Ryczkowski
2012-09-18  7:52     ` Robin Hill

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=5056CA7E.5040303@statystyka.net \
    --to=adam.ryczkowski@statystyka.net \
    --cc=linux-raid@vger.kernel.org \
    /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 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.