Expand the PV on /dev/sda1 after enlarging the partition with fdisk:
Shrink the PV on /dev/sda1 prior to shrinking the partition with
fdisk (ensure that the PV size is appropriate for your intended new
pvresize --setphysicalvolumesize 40G /dev/sda1
pvresize will refuse to shrink PhysicalVolume 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.
pvresize won't currently work correctly on LVM1 volumes.
This page is part of the lvm2 (Logical Volume Manager 2) project.
Information about the project can be found at
⟨http://www.sourceware.org/lvm2/⟩. If you have a bug report for this
manual page, send it to email@example.com. This page was obtained
from the project's upstream Git repository
⟨https://git.fedorahosted.org/git/lvm2.git⟩ on 2017-03-13. If you
discover any rendering problems in this HTML version of the page, or
you believe there is a better or more up-to-date source for the page,
or you have corrections or improvements to the information in this
COLOPHON (which is not part of the original manual page), send a mail
Sistina Software UKLVM TOOLS 2.02.169(2)-git (2016-11-30) PVRESIZE(8)