What parameters to mdadm, to re-create md device with payload starting at 0x22000 position on backing storage?

Posted by Adam Ryczkowski on Server Fault See other posts from Server Fault or by Adam Ryczkowski
Published on 2012-09-15T08:48:00Z Indexed on 2012/09/15 9:40 UTC
Read the original article Hit count: 315

Filed under:
|
|
|

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 this question on askubuntu

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

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

PS. The relevant information from syslog when the system was healthy are pasted here.

© Server Fault or respective owner

Related posts about linux

Related posts about software-raid