From: Jaroslav Stava <jstava@redhat.com>
To: LVM general discussion and development <linux-lvm@redhat.com>
Subject: Re: [linux-lvm] Let's try again with the lvm mirror failure.
Date: Sat, 29 Nov 2008 00:20:52 +0100 [thread overview]
Message-ID: <49307CD4.9010705@redhat.com> (raw)
In-Reply-To: <614f37be0811281309gb115861yea65f65979e48951@mail.gmail.com>
Hi,
Gary Desrochers wrote:
> I will try one more time. Can someone please tell me if it is possible
> to recover a mirrored drive? If not then why are so many people using
> mirrors out there?
Some info:
man vgreduce (see --removemissing)
man lvm (see --partial activation)
Btw. it's a good idea to state your lvm version.
> > So how do you fix up from a crashed primary mirror?
To make the VG consistent again you use "vgreduce --removemissing VG".
That will remove any LVs that were (even partially) on any missing PV.
When mirror legs are lost this way then mirror get downconverted.
You may want to use it with --test first, to see what you would loose.
(And you may try --mirrorsonly, it should fail when anything except mirror
legs would be lost. Without guarantee, depends on version.)
>
> As a second question, I know the extents and such. Is there a way to
> copy off the data into a non-lvm partition? At this point I will even
> take that. I just want to get to the data.
Partial activation: "vgchange -ay -P". Doesn't make much sense
if you only lost a mirror leg.
Btw. when you need realtime response to your problem,
there is an irc channel #lvm on freenode (ask question and wait).
Regards,
Jaroslav Stava
next prev parent reply other threads:[~2008-11-28 23:20 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-11-28 21:09 [linux-lvm] Let's try again with the lvm mirror failure Gary Desrochers
2008-11-28 23:20 ` Jaroslav Stava [this message]
2008-11-29 3:20 ` Gary Desrochers
2008-12-12 1:18 ` Gary Desrochers
2008-12-21 5:01 ` Gary Desrochers
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=49307CD4.9010705@redhat.com \
--to=jstava@redhat.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 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.