pvresize should defrag pv if necessary to reduce its size
Bug #177350 reported by
Eric Anopolsky
This bug affects 3 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
lvm2 (Ubuntu) |
Triaged
|
Wishlist
|
Unassigned |
Bug Description
The problem:
I have an LVM2 physical volume with a lot of free physical extents. But, when I try to shrink that physical volume with pvresize, it tells me that it can't. The reason is that there are allocated physical extents beyond the end of what would be the new physical volume.
The solution:
if( physicalExtents
compactPhys
}
shrinkPhysicalV
This bug depends on bug #1. If that bug is fixed, I won't need to shrink LVM2 PVs.
To post a comment you must log in.
Thank you for taking the time to report this bug and helping to make Ubuntu better. You reported this bug a while ago and there hasn't been any activity in it recently. We were wondering if this is still an issue for you. Can you try with the latest Ubuntu release? Thanks in advance.