linux-raid.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Andreas Klauer <Andreas.Klauer@metamorpher.de>
To: Wolfgang Denk <wd@denx.de>
Cc: linux-raid@vger.kernel.org
Subject: Re: MD RAID6 corrupted by Avago 9260-4i controller [SOLVED]
Date: Mon, 16 May 2016 15:14:39 +0200	[thread overview]
Message-ID: <20160516131439.GA2850@metamorpher.de> (raw)
In-Reply-To: <20160516125801.20A1A100879@atlas.denx.de>

On Mon, May 16, 2016 at 02:58:01PM +0200, Wolfgang Denk wrote:
> Seems I was lucky - already the second of the 120 possible
> combination turned out to be working: b a c d f e

Find a large enough file (disks * chunksize) and verify it.

Sometimes you can be unlucky, i.e. the LVM is detected, the filesystem 
mounts, but still data is corrupt because the wrong two disks switched 
places (just not the ones that contain filesystem metadata).
 
> But I still have not the slightest idea why the drive order might have
> changed...

Me neither. :)

With GPT partition table, I set PARTLABEL to mdnumber-role so that's 
another place that has metadata in case mdadm loses its own... 
Since GPT lives at beginning and end of the disk it should have a 
good chance of surviving accidents, and you can address them as 
/dev/disk/by-partlabel/mdnumber-* in the correct order...

Anyway, glad you (hopefully, finally?) got your data back.

Regards
Andreas Klauer

  reply	other threads:[~2016-05-16 13:14 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-05-15 12:45 MD RAID6 corrupted by Avago 9260-4i controller Wolfgang Denk
2016-05-15 13:37 ` Wolfgang Denk
2016-05-15 15:31   ` Andreas Klauer
2016-05-15 18:25     ` MD RAID6 corrupted by Avago 9260-4i controller [SOLVED] Wolfgang Denk
2016-05-15 18:31       ` Andreas Klauer
2016-05-15 19:35         ` Wolfgang Denk
2016-05-15 20:34           ` Andreas Klauer
2016-05-15 23:10             ` Wolfgang Denk
2016-05-16  8:39               ` Andreas Klauer
2016-05-16 10:06                 ` Wolfgang Denk
2016-05-16 10:24                   ` Andreas Klauer
2016-05-16 11:05                     ` Wolfgang Denk
2016-05-16 12:06                 ` Wolfgang Denk
2016-05-16 12:58                   ` Wolfgang Denk
2016-05-16 13:14                     ` Andreas Klauer [this message]
2016-05-17 18:42                       ` Wolfgang Denk

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=20160516131439.GA2850@metamorpher.de \
    --to=andreas.klauer@metamorpher.de \
    --cc=linux-raid@vger.kernel.org \
    --cc=wd@denx.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;
as well as URLs for NNTP newsgroup(s).