From: NeilBrown <neilb@suse.de>
To: Christian Iversen <ci@meebox.net>
Cc: linux-raid@vger.kernel.org, "[meebox] Anders Eiler" <ace@meebox.net>
Subject: Re: Cannot assemble DDF raid
Date: Wed, 26 Feb 2014 17:10:36 +1100 [thread overview]
Message-ID: <20140226171036.76faa1a1@notabene.brown> (raw)
In-Reply-To: <5306D567.2010304@meebox.net>
[-- Attachment #1: Type: text/plain, Size: 2825 bytes --]
On Fri, 21 Feb 2014 05:26:15 +0100 Christian Iversen <ci@meebox.net> wrote:
> (please CC, not on the list currently)
>
> I'm trying to recover from a 2-disk RAID5 failure on a Dell PERC
> controller running:
>
> 2 x 146GB RAID1 (system)
> 6 x 2TB RAID5 (data1)
> 6 x 3TB RAID5 (data2)
>
> Normally, data1 and data2 are then striped with mdadm on Linux, to
> increase performance over a JBOD-style usage. This has worked nicely for
> a while.. until we lost 2 disks in data2 within a few hours of each
> other. Murphy's law, and all that.
>
>
> I've made a raw disk copy (using ddrescue) from one of the dead disks,
> onto a new disk. I tried putting this disk in the server, but it would
> not accept it. (It said it was recognized as foreign, but import failed)
>
> If I try to assemble the raid, I get this error:
>
> [root@rescue]~ #mdadm -A /dev/md10 /dev/sd[abcde]
> mdadm: superblock on /dev/sde doesn't match others - assembly aborted
>
> Now, this does seem to be true. All the GUIDs on sda-sdd:
>
> Controller GUID : 44656C6C:20202020:32374730:32524100:00743D30:00000021
> Container GUID : 44656C6C:20202020:1000005B:10281F34:40371E8C:E9A398EA
> VD GUID[0] : 44656C6C:20202020:1000005B:10281F34:3DB931F1:D8857F5D
> VD GUID[1] : 44656C6C:20202020:1000005B:10281F34:3DB9326E:61E7B2D7
> VD GUID[2] : 44656C6C:20202020:1000005B:10281F34:3F6ADA39:99DCAA67
>
> While on the last 2 disks, we have this:
>
> Controller GUID : 44656C6C:20202020:32374730:32524100:00743D30:00000021
> Container GUID : 44656C6C:20202020:1000005B:10281F34:3DB931F1:40FC2989
> VD GUID[0] : 44656C6C:20202020:1000005B:10281F34:3DB931F1:D8857F5D
> VD GUID[1] : 44656C6C:20202020:1000005B:10281F34:3DB9326E:61E7B2D7
> VD GUID[2] : 44656C6C:20202020:1000005B:10281F34:3F6ADA39:99DCAA67
>
> Notice how the last 8 bytes of the Container is different.
>
> I'm not quite sure how this happened, but I have a strong suspicion the
> PERC controller did something less than clever, and now I can't start
> the raid with mdadm OR perc.
>
>
>
> I've tried to simply update the container GUID using a hex editor, but
> this of course causes the CRCs to fail. (I reverted this change)
>
> I have the following questions:
>
> 1) If I could manage to change the Container GUID, would that
> be a viable way to force the array to start, for further rescue?
I suspect so.
>
> 2) Is there any other way to force the array to start? (--force does
> not help)
Unfortunately not.
>
> 3) Any other suggestions?
>
Copy the bad disk to the good disk with ddrescure again?
or just copy the last megabyte or so.
or maybe hack mdadm to assume all container guids are identical.
NeilBrown
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 828 bytes --]
prev parent reply other threads:[~2014-02-26 6:10 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-02-21 4:26 Cannot assemble DDF raid Christian Iversen
2014-02-26 6:10 ` NeilBrown [this message]
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=20140226171036.76faa1a1@notabene.brown \
--to=neilb@suse.de \
--cc=ace@meebox.net \
--cc=ci@meebox.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).