[linux-lvm] pvmove related questions

Liron Aravot laravot at redhat.com
Sun Sep 4 12:53:34 UTC 2016


On Sun, Sep 4, 2016 at 3:42 PM, Liron Aravot <laravot at redhat.com> wrote:
> Hi,
> We started to work on adding support to RHV/oVirt to reduce a device
> from a vg, I have a few related pvmove questions-
>
> 1. is there a plan to add support to pvmove --abort for a specific
> device? i saw a related comment in the code but haven't found a BZ for
> that.
>
> 2. When there's no data to move on the source device, pvmove fails
> with "No data to move" (rc = 5), if i want to check it myself prior to
> the execution, is checking if pv_pe_count = pv_pe_alloc_count is
> sufficient?
sorry, meant to pv_pe_alloc_count = 0
>
> 3. if pvmove is interrupted (by a machine reboot) - i'm left with a
> temp pvmove lv with one active mirrored segment which is used by some
> LV.
> is it allowed to run pvmove on the temp pvmove lv device at this
> point? does lvm knows to to handle that?
>
> thanks,
> Liron.




More information about the linux-lvm mailing list