[linux-lvm] Convert striped lv to single pv on another disk?

Gianluca Cecchi gianluca.cecchi at gmail.com
Thu Dec 13 16:11:59 UTC 2012


On Thu, Dec 13, 2012 at 4:39 PM, Bryn M. Reeves  wrote:
> 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.
>
>

I found in another thread that the resulting LV with pvmove remains a
striped one on only one disk as far as its structure is concerned...
with degraded performance...
Have you an example of pvmove command options to test to execute based
on my test?
So that I can verify with my loop devices?
Thanks
Gianluca




More information about the linux-lvm mailing list