Bug#529876: lvm2: pvmove lost my full lv (bad interaction with kvm ?)

Alasdair G Kergon agk at redhat.com
Fri May 22 11:13:04 UTC 2009


For pvmove completing when it hadn't actually moved, you need a bug fix:
    Fix pvmove to revert operation if temporary mirror creation fails.
which is in 2.02.47 upstream that I'll be releasing in a few hours.
(It's actually in 2.02.46 I released the other day, but I've withdrawn that
release due to a build bug.)

On Fri, May 22, 2009 at 01:49:09AM +0200, Vincent Danjean wrote:
>     Removing temporary pvmove LV

This step probably failed - I don't know why - can you check your
kernel messages log for any device-mapper errors during this period?

Typically something like udev might have been holding onto the device
preventing its removal.  We need to improve our logging messages so
that they tell us about these problems.

>     Creating aya-pvmove0
>   device-mapper: create ioctl failed: Périphérique ou ressource occupé

(This is the clue that means the earlier device removal failed.)
I think we should improve the code so it uses 'pvmove1' in such circumstances.

Alasdair






More information about the pkg-lvm-maintainers mailing list