All of lore.kernel.org
 help / color / mirror / Atom feed
From: Andreas Klauer <Andreas.Klauer@metamorpher.de>
To: Tony Bush <thecompguru@gmail.com>
Cc: linux-raid@vger.kernel.org
Subject: Re: Need help Recover raid5 array
Date: Fri, 24 Dec 2021 08:45:57 +0100	[thread overview]
Message-ID: <YcV6tUwlKd+tLd78@metamorpher.de> (raw)
In-Reply-To: <CAA9kLn1JwRLWpOd-kRnLj2YqQhkRM_R_LFisA9_acxHdFJpFVg@mail.gmail.com>

On Thu, Dec 23, 2021 at 10:55:01PM -0500, Tony Bush wrote:
> /dev/mapper/sda /dev/mapper/sdb /dev/mapper/sdc /dev/mapper/sdd
> /dev/mapper/sde

Hi Tony, 

your examine output of the one drive that was left showed Device role 1,  
and count starts from 0 so that's the 2nd drive in the array. The order 
of the others is unknown so yes, unless you are able to derive order 
from raw data, you simply have to try all combinations. This can be 
scripted as well.

Furthermore you should --examine the array you created and make sure 
that all other variables (offset, level, layout, ...), match your 
previous --examine.

As for re-creating overlays, you can do that for every single step 
but it might not be necessary just for mount attempt.

Note that there is the case where mounting might succeed but drive 
order is still wrong - find a large file and see if it is fully intact.

Best of luck,
Andreas Klauer

  reply	other threads:[~2021-12-24  7:46 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-12-19  4:31 Need help Recover raid5 array Tony Bush
2021-12-19 10:13 ` Wols Lists
2021-12-20  0:25   ` Phil Turmel
2021-12-19 11:58 ` Andreas Klauer
2021-12-24  3:55   ` Tony Bush
2021-12-24  7:45     ` Andreas Klauer [this message]
2021-12-28 23:56       ` Tony Bush
2021-12-29  4:37         ` Andreas Klauer

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=YcV6tUwlKd+tLd78@metamorpher.de \
    --to=andreas.klauer@metamorpher.de \
    --cc=linux-raid@vger.kernel.org \
    --cc=thecompguru@gmail.com \
    /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.