From: Alasdair G Kergon <agk@redhat.com>
To: LVM general discussion and development <linux-lvm@redhat.com>
Subject: Re: [linux-lvm] lvm - problem replacing failed disk
Date: Fri, 16 Jun 2006 19:43:56 +0100 [thread overview]
Message-ID: <20060616184356.GB11813@agk.surrey.redhat.com> (raw)
In-Reply-To: <1150407680.28492.28.camel@laue.chem.uleth.ca>
On Thu, Jun 15, 2006 at 03:41:20PM -0600, Steven Mosimann wrote:
> (1) Replaced the failed disk with one of the same size
> (2) Used pvcreate to make the same physical volumes on the new disk
> that were present on the failed disk. Example of the actual command I
> used was:
> pvcreate --uuid xxxxx /dev/sdb1
> where xxxxx was the pv uuid from pvdisplay
Missing the --restorefile arg there (for safety - if it was originally
created by lvm2 with default options it'll make no difference).
Missing a 'vgcfgrestore' step.
> (3) Used vgchange -a y -P to activate the volume group
No need for -P here. That's what you use if you *don't* do steps 1 and 2 etc.
Alasdair
--
agk@redhat.com
next prev parent reply other threads:[~2006-06-16 18:43 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-06-15 21:41 [linux-lvm] lvm - problem replacing failed disk Steven Mosimann
2006-06-16 18:43 ` Alasdair G Kergon [this message]
-- strict thread matches above, loose matches on Subject: below --
2006-06-22 19:12 Steven Mosimann
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=20060616184356.GB11813@agk.surrey.redhat.com \
--to=agk@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 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).