I've installed Ubuntu with LVM2 and now I want to make a new partition on that disk. I've shrank the root virtual volume and now swap volume is located on last extents of the physical volume. AFAIU that prevents physical volume resizing. But I can't find any info on how to move that swap closer to root and shrink the physical volume. I've already found two identical questions but they were resolved in ways unacceptable in my case:
In this one user just deleted the partition: Shrink extended partition containing lvm
And in this one user just gave up: Move free space out of LVM