1. 程式人生 > >How to Shrink A LVM Physical Volume

How to Shrink A LVM Physical Volume

There is now enough free physical space available (lvm pvs) to shrink the physical volume by that much in order to make room for a new partition of that size or smaller. Unfortunately, the current implementation of “pvresize” is lacking – from the man page: “pvresize will refuse to shrink physical volume if it has allocated extents after where its new end would be. In the future, it should relocate these elsewhere in the volume group if there is sufficient free space, like pvmove does.”