Bug#529876: lvm2: pvmove lost my full lv (bad interaction with kvm ?)
Elrond
elrond+bugs.debian.org at samba-tng.org
Sat Sep 19 13:18:41 UTC 2009
Hi,
I experienced nearly exactly the same problem two days ago.
Also with *.44.
One big difference in my case:
I used a failing pvmove first:
pvmove -v -i 10 /dev/sda6:0-20 /dev/sda6:100-120
Moving inside the same PV (for example to reduce
fragmentation) does not seem to be supported at all. I
usually have to do that by moving the PEs first to another
PV and then back.
On Fri, May 22, 2009 at 01:48:53PM +0200, Vincent Danjean wrote:
[...]
> Alasdair G Kergon wrote:
> > 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.)
Hmmm....
Shouldn't the "operation" be done after the mirror has
finished? So that a power outage leaves LVM in the state
just before the pvmove and one can start over from the
beginning?
Cheers
Elrond
More information about the pkg-lvm-maintainers
mailing list