All of lore.kernel.org
 help / color / mirror / Atom feed
From: Phil Turmel <philip@turmel.org>
To: lists@yazzy.org
Cc: linux-raid@vger.kernel.org
Subject: Re: Recovery of failed RAID 6 and LVM
Date: Sun, 25 Sep 2011 12:19:31 -0400	[thread overview]
Message-ID: <4E7F5493.5050402@turmel.org> (raw)
In-Reply-To: <4E7F3D7C.3060705@yazzy.org>

On 09/25/2011 10:41 AM, Marcin M. Jessa wrote:
> On 9/25/11 3:15 PM, Phil Turmel wrote:
> 
> 
>> I'm sorry, Marcin, but you shouldn't expect to get your data back.  Per your "mdadm -D" report, the rebuild was already 63% done, so the destruction of your data is certainly complete now.
> 
> What I don't understand is I still have the LVM info. It's just the LVs don't have partition table stored anymore:

You probably got the device order partially correct, which would put some of your data blocks in the correct location.  Having the LVM metadata line up is not terribly surprising.  When some drives are placed back into the correct slots, but not others, only the non-parity data on the correctly placed drives will be correct.  The rebuild will destroy the parity data on those devices, and much of the data on the other devices.  Your partition tables were probably among the latter.

If chunk size, data offset, or layout were also incorrect, then even fewer good data blocks will show up by chance in the correct location.

Without the original mdadm -E reports (complete), there's no way I know of to figure out what happened, much less repair it.

Phil

  reply	other threads:[~2011-09-25 16:19 UTC|newest]

Thread overview: 44+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-09-25  7:55 Recovery of failed RAID 6 and LVM Marcin M. Jessa
2011-09-25  8:39 ` Stan Hoeppner
2011-09-25 10:07   ` Marcin M. Jessa
2011-09-25 13:15 ` Phil Turmel
2011-09-25 14:16   ` Marcin M. Jessa
2011-09-25 16:43     ` Phil Turmel
2011-09-25 14:41   ` Marcin M. Jessa
2011-09-25 16:19     ` Phil Turmel [this message]
2011-09-25 21:40 ` NeilBrown
2011-09-25 21:58   ` Marcin M. Jessa
2011-09-25 22:18     ` NeilBrown
2011-09-25 22:21       ` Marcin M. Jessa
     [not found]       ` <4E804062.3020700@yazzy.org>
2011-09-26  9:31         ` NeilBrown
2011-09-26 10:53           ` Marcin M. Jessa
2011-09-26 11:10             ` NeilBrown
2011-09-27 19:12           ` Marcin M. Jessa
2011-09-27 23:13             ` NeilBrown
2011-09-28  2:50               ` Stan Hoeppner
2011-09-28  7:10                 ` Marcin M. Jessa
2011-09-28  7:51                   ` David Brown
2011-09-28 16:12                   ` Stan Hoeppner
2011-09-28 16:30                     ` Marcin M. Jessa
2011-09-28 18:56                       ` Thomas Fjellstrom
2011-09-28 19:26                         ` Marcin M. Jessa
2011-09-28 19:42                           ` Thomas Fjellstrom
2011-09-28 23:49                     ` NeilBrown
2011-09-29  9:03                       ` David Brown
2011-09-29 15:21                         ` Stan Hoeppner
2011-09-29 17:14                           ` David Brown
2011-09-29 18:28                       ` Dan Williams
2011-09-29 23:07                         ` NeilBrown
2011-09-30  0:18                           ` Williams, Dan J
2011-10-05  2:15                             ` NeilBrown
2011-09-28 10:38                 ` Michal Soltys
2011-09-28 13:20                   ` Brad Campbell
2011-09-28 19:02                     ` Thomas Fjellstrom
2011-09-28 16:31                   ` Stan Hoeppner
2011-09-28 16:37                     ` Marcin M. Jessa
2011-09-28 19:03                       ` Thomas Fjellstrom
2011-09-28 19:29                         ` Marcin M. Jessa
2011-09-28 19:43                           ` Thomas Fjellstrom
2011-09-30 20:01               ` Marcin M. Jessa
2011-09-30 21:47                 ` Thomas Fjellstrom
2011-09-30 22:30                   ` Marcin M. Jessa

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=4E7F5493.5050402@turmel.org \
    --to=philip@turmel.org \
    --cc=linux-raid@vger.kernel.org \
    --cc=lists@yazzy.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.