mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: lsorense@csclub.uwaterloo.ca (Lennart Sorensen)
To: Stephen Mueller <stephen@mueller.org>
Cc: linux-kernel@vger.kernel.org
Subject: Re: RAID array is gone, please help
Date: Thu, 23 Mar 2017 17:01:33 -0400	[thread overview]
Message-ID: <20170323210133.GP14186@csclub.uwaterloo.ca> (raw)
In-Reply-To: <a135b9a4-ab7f-c368-fc1a-db53f46ea631@mueller.org>

On Thu, Mar 23, 2017 at 09:09:39PM +0100, Stephen Mueller wrote:
> OK, I used gdisk to remove the GPT and MBR from each disk.
> mdadm --assemble still doesn't work... says it can't find the
> superblock. The mdadm --examine commands also say that no
> superblock is detected.

Yes the GPT overwrite the superblock.  The GPT uses the first 17KB of
the disk, and the superblock was at 4KB from the start.

> I guess I'll go ahead with --create...

At least given the data should start at 1MB from the start, it should
not have been overwritten.

I do always like disk images before I try anything like that.  I am never
quite sure what create will do although it will likely do the right
thing at least if you get the order right.

-- 
Len Sorensen

  reply	other threads:[~2017-03-23 21:02 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-03-23 16:49 raid
2017-03-23 17:37 ` Lennart Sorensen
2017-03-23 18:09   ` raid
2017-03-23 19:27     ` Lennart Sorensen
2017-03-23 19:38       ` Stephen Mueller
2017-03-23 19:59         ` Lennart Sorensen
2017-03-23 20:09           ` Stephen Mueller
2017-03-23 21:01             ` Lennart Sorensen [this message]
2017-03-23 21:02             ` Stephen Mueller
2017-03-23 21:09               ` Lennart Sorensen
2017-03-23 21:11                 ` Stephen Mueller

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=20170323210133.GP14186@csclub.uwaterloo.ca \
    --to=lsorense@csclub.uwaterloo.ca \
    --cc=linux-kernel@vger.kernel.org \
    --cc=stephen@mueller.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

all inboxes | Powered by JetHome®