All of lore.kernel.org
 help / color / mirror / Atom feed
From: David Mitchell <mr.david.mitchell@gmail.com>
To: linux-raid@vger.kernel.org
Subject: Re: Superblock Missing
Date: Mon, 4 Sep 2017 13:56:32 -0400	[thread overview]
Message-ID: <CAANkkp+tq2tCjgiB-1aE3zw-MZgaANmYP6W6JHNUt-7z=6WnXA@mail.gmail.com> (raw)
In-Reply-To: <20170904154947.GA5263@metamorpher.de>

@Andreas Klauer a huge THANK YOU for taking the time to review my
issue.   I really appreciate your help.

Sincerely,

David Mitchell


On Mon, Sep 4, 2017 at 11:49 AM, Andreas Klauer
<Andreas.Klauer@metamorpher.de> wrote:
> On Sun, Sep 03, 2017 at 11:35:25PM -0400, David Mitchell wrote:
>> I really do NOT remember running the  --create command.
>
> There is no other explanation for it. It has happened somehow.
>
>> The pictures over 512k don't display correctly.
>
> So not only/necessarily a wrong data offset, but also wrong drive order.
>
>> At this point I'm hoping for help on next steps in recovery/troubleshooting.
>
> 1. Use overlays.
>
> https://raid.wiki.kernel.org/index.php/Recovering_a_failed_software_RAID#Making_the_harddisks_read-only_using_an_overlay_file
>
>    That way you can safely experiment and create RAID with
>    different settings. (Use --assume-clean and/or missing)
>
> 2. Check first 128M of each drive (your current data offset).
>    See if you can find a valid filesystem header anywhere.
>    That way you could determine the correct data offset.
>
> 3. Find a JPEG header (any known file type, like a 2-3M file)
>    and look at the other drives for the same offset. You should be
>    able to deduce RAID layout, chunksize, drive order from that.
>
> Instead of 3) you can also simply trial and error with overlays
> until you find a setting that allows photorec to find larger files intact.
>
> The resync might not necessarily have damaged your data. If the offsets
> were the same and the RAID level was the same, and the drives were in
> sync, a resync even with wrong settings would still produce the same data.
> For XOR, a ^ b = c and b ^ a = c so switching the drives does no damage
> provided you don't write anything else...
>
> Regards
> Andreas Klauer

  reply	other threads:[~2017-09-04 17:56 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-09-02  0:52 Superblock Missing David Mitchell
2017-09-02  1:43 ` Andreas Klauer
2017-09-02 15:43   ` David Mitchell
2017-09-02 16:49     ` Andreas Klauer
2017-09-04  3:35       ` David Mitchell
2017-09-04 15:02         ` Wols Lists
2017-09-04 15:49         ` Andreas Klauer
2017-09-04 17:56           ` David Mitchell [this message]
2017-09-06  3:07             ` David Mitchell

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='CAANkkp+tq2tCjgiB-1aE3zw-MZgaANmYP6W6JHNUt-7z=6WnXA@mail.gmail.com' \
    --to=mr.david.mitchell@gmail.com \
    --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.