By default pvmove allocates extents on pvs OTHER than the one they are
coming from.  If you want to move extents around on the same PV, IIRC,
you have to pass --alloc anywhere, and explicitly specify destination
extents.

At any rate, this isn't really a bug.  It is by design that you can not
reduce a pv below its last allocated extent.  If extent fragmentation is
a problem, lvm currently does not support auto defragmentation.  So this
is really a feature request.


** Changed in: lvm2 (Ubuntu)
   Importance: Undecided => Wishlist

** Changed in: lvm2 (Ubuntu)
       Status: New => Triaged

** Summary changed:

- pvresize can't shrink PVs
+ pvresize should defrag pv if necessary to reduce its size

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/177350

Title:
  pvresize should defrag pv if necessary to reduce its size

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to