[Touch-packages] [Bug 1383905] Re: pvmove fails while clvm is in use (Device or resource busy)

2014-10-22 Thread Dariusz Gadomski
I have investigated the possibility to backport the fix for this issue from trusty (14.04). There has been a major refactoring of the locking all over lvm between versions shipped with precise (2.02.66 patched to 2.02.72) and trusty (2.02.98). The scope of backporting makes this operation risky

[Touch-packages] [Bug 1383905] Re: pvmove fails while clvm is in use (Device or resource busy)

2014-10-22 Thread Dariusz Gadomski
Assuming that: * vg0 is the volume group in question * lv0 is the logical volume * sdc is the physical volume that needs to be freed there is a workaround possible: 1. lvconvert --mirrorlog core -m 1 /dev/vg0/lv0 2. lvconvert --mirrorlog core -m 0 vg0/lv0 /dev/sdc 3. vgreduce vg0 /dev/sdc --

[Touch-packages] [Bug 1383905] Re: pvmove fails while clvm is in use (Device or resource busy)

2014-10-22 Thread Gema Gomez
** Changed in: lvm2 (Ubuntu) Status: New = Won't Fix -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to lvm2 in Ubuntu. https://bugs.launchpad.net/bugs/1383905 Title: pvmove fails while clvm is in use (Device or