linux-raid.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Michael Evans <mjevans1983@gmail.com>
To: Ken D'Ambrosio <ken@jots.org>
Cc: linux-raid@vger.kernel.org
Subject: Re: RAID MIA. Again. (Kinda.)
Date: Thu, 4 Mar 2010 17:22:34 -0800	[thread overview]
Message-ID: <4877c76c1003041722p5a6d7c13xb2f7f641d6c5e5d9@mail.gmail.com> (raw)
In-Reply-To: <e787a69f754f9d4348ebf2d608434f6b.squirrel@webmail.jots.org>

On Thu, Mar 4, 2010 at 3:41 PM, Ken D'Ambrosio <ken@jots.org> wrote:
> On Thu, March 4, 2010 5:21 pm, Michael Evans wrote:
>> Try providing the output of;
>> for ii in /dev/[sh]d[a-z] ; do parted $ii print ; done
>
> Mea culpa; I'd said:
>
>  I went through all 24 permutations of
>  mdadm --assemble /dev/md0 /dev/sda2 /dev/sdb2 /dev/sdc2 /dev/sdd2
>  since I wasn't sure if the drive order was significant.  All of them
>  "worked," inasmuch as they created /dev/md0, but in all cases it was
>  partitionless.
>
> Which I assumed implied that /dev/sd[a-d]2 was valid on all disks, though,
> in hindsight, I wasn't explicit.  So: /dev/sd[a-d]2 exists on all drives
> as partition id "fd" (Linux raid autodetect).  It's /dev/md0 that shows as
> a valid, 4.4 TB disk... with no partition.
>
> -Ken

It sounds like you might be interested in this script:

http://www.linuxfoundation.org/collaborate/workgroups/linux-raid/raid_recovery

It's untested, but it may produce a sequence that shows you valid data.

Also if you 'partitioned' the resulting raid device what you most
likely did was use it as an LVM physical volume, and then create
logical volumes from it.  At least that's the way I'd do it.

After you have /dev/md0 (or whatever) running try running this;

vgscan ; vgdisplay

You might see your 'partitions' listed, at which point you can do a
read-only fsck, then read-only mount and determine if they are in fact
whole, or if they are instead corrupt in that configuration.

If you manually let mdadm guess where to put the devices based on the
stored metadata then it will probably determine the correct order for
you; presuming you haven't already over-written that with invalid
data.
--
To unsubscribe from this list: send the line "unsubscribe linux-raid" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

  reply	other threads:[~2010-03-05  1:22 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-03-04 16:12 RAID MIA. Again. (Kinda.) Ken D'Ambrosio
2010-03-04 20:50 ` Neil Brown
2010-03-04 22:00   ` Ken D'Ambrosio
     [not found]     ` <4877c76c1003041421s42717938he6567434b74ec125@mail.gmail.com>
2010-03-04 22:24       ` Michael Evans
2010-03-04 23:41       ` Ken D'Ambrosio
2010-03-05  1:22         ` Michael Evans [this message]
2010-03-05  1:30     ` Neil Brown
2010-03-05 15:24       ` Ken D'Ambrosio
2010-03-05 20:05         ` Michael Evans
2010-03-05 20:38           ` Neil Brown
2010-03-06  3:18             ` Michael Evans
2010-03-05 20:37         ` Neil Brown
2010-03-09 14:43           ` Ken D'Ambrosio
2010-03-09 16:29             ` John Robinson
2010-03-09 19:49             ` Neil Brown

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=4877c76c1003041722p5a6d7c13xb2f7f641d6c5e5d9@mail.gmail.com \
    --to=mjevans1983@gmail.com \
    --cc=ken@jots.org \
    --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).