From: "Bryn M. Reeves" <bmr@redhat.com>
To: LVM general discussion and development <linux-lvm@redhat.com>
Cc: Gianluca Cecchi <gianluca.cecchi@gmail.com>
Subject: Re: [linux-lvm] Convert striped lv to single pv on another disk?
Date: Thu, 13 Dec 2012 15:39:27 +0000 [thread overview]
Message-ID: <50C9F6AF.50908@redhat.com> (raw)
In-Reply-To: <CAG2kNCy_qwLar7Cw3rr=7j7LP=XRvFMRv7Jit3SHWy+O_SmuRA@mail.gmail.com>
On 13/12/12 15:28, Gianluca Cecchi wrote:
> Searching on Internet I found several methods and the one I tested (at
> the moment only on loop devices) and seems ok is this one below, that
> passes through creating a mirror between the initial striped lv
> components and the new pv with lvconvert command and then gets rid off
> the initial pvs
Why not just use pvmove to move the extents off the two original PVs and
onto the third? The end result is the same (and internally it's not
dissimilar - pmove creates a temporary mirror volume to do its work) but
it's less manual work and should be more robust as pvmove does
checkpointing that allows the process to be interrupted and restarted.
Regards,
Bryn.
next prev parent reply other threads:[~2012-12-13 15:39 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-12-13 13:32 [linux-lvm] Convert striped lv to single pv on another disk? Gianluca Cecchi
2012-12-13 15:28 ` Gianluca Cecchi
2012-12-13 15:39 ` Bryn M. Reeves [this message]
2012-12-13 16:11 ` Gianluca Cecchi
2012-12-13 16:38 ` Bryn M. Reeves
2012-12-14 18:33 ` 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=50C9F6AF.50908@redhat.com \
--to=bmr@redhat.com \
--cc=gianluca.cecchi@gmail.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).