linux-lvm.redhat.com archive mirror
 help / color / mirror / Atom feed
From: Stuart D Gathman <stuart@bmsi.com>
To: linux-lvm@redhat.com
Subject: Re: [linux-lvm] vg disappeared after replacing disc in raid10
Date: Mon, 25 Mar 2013 15:00:27 -0400	[thread overview]
Message-ID: <51509ECB.4050901@bmsi.com> (raw)
In-Reply-To: <533CFD97-2715-4B1C-A8C5-02161911747D@googlemail.com>

Long ago, Nostradamus foresaw that on 03/25/2013 10:04 AM, Bj�rn
Nadrowski would write:
> After replacing a disc in my raid10 system (ubuntu 12.04), my volume group (that contained all my data and my system) was gone.
>
> Problem description is here:
>
> http://ubuntuforums.org/showthread.php?t=2128504
>
> I managed to retrieve the metadata of the volume group and the logical volumes underneath, but I did not succeed using
>
> vgcfgrestore 
>
> successfully in order to regain access to my data.
>
> It seems I might have to try dmsetup, but I am afraid I might destroy my data if I use it. I have no experience with that program.
>
No immediate help, but I would have been more paranoid under knoppix,
and checked for the volume group (vgscan) *before* failing the bad disk,
and *before* adding the replacement.  Running pvs at those points would
be advisable also.

I just installed a customer system with raid10, so I am *very*
interested in what went wrong.  I have only used raid1 to this point,
and have been *very* impressed with the improved performance of 4 disks
with raid10 vs. 2 with raid1. 

Here is a theory to toss out:  raid10 on 3 disks can tolerate only 1
disk failure.  Maybe there were 2?  Maybe replaced the wrong drive? 

Does pvs show the raid10 drive as a PV?  There is no point trying to use
vgcfgrestore until you have some PVs to restore it to.
Where did you find the metadata?  From a backup?  From the beginning of
the raid10 drive?

  reply	other threads:[~2013-03-25 19:00 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-03-25 14:01 [linux-lvm] vg disappeared after replacing disc in raid10 Björn Nadrowski
2013-03-25 14:04 ` Björn Nadrowski
2013-03-25 19:00   ` Stuart D Gathman [this message]
2013-03-25 20:25     ` Björn Nadrowski
2013-03-25 20:36       ` Stuart D Gathman
2013-03-25 20:46         ` Björn Nadrowski
2013-03-25 21:30           ` Stuart D Gathman
2013-03-25 21:45             ` Björn Nadrowski
2013-03-26 13:41               ` Stuart D Gathman
2013-03-26 18:13                 ` Björn Nadrowski
2013-03-27 18:51                   ` Stuart D Gathman
2013-03-27  4:29                 ` Stuart D Gathman
2013-03-27 12:47                   ` Björn Nadrowski
2013-03-27 18:21                     ` Stuart D Gathman
2013-03-25 21:50             ` Björn Nadrowski
2013-03-27 20:08               ` Stuart D Gathman
2013-03-27 23:39                 ` Björn Nadrowski
2013-03-28 18:22                   ` Stuart D Gathman
2013-03-28 19:21                   ` Stuart D Gathman

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=51509ECB.4050901@bmsi.com \
    --to=stuart@bmsi.com \
    --cc=linux-lvm@redhat.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 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).