EXAMPLES
Expand a PV after enlarging the partition.
pvresize /dev/sda1
Best,
Greg
On Sun, Dec 21, 2025, at 4:00 PM, Hendrik Boom wrote:
> Last time I had to mess with my lvm logical volume management
> wa a few years ago, but the time has coe again.
>
> I need to enlarge two of my logical volumes.
> There is enough space available on my disk, but that space
> is currently not in a partition, and so not available to LVM.
> I will have to add that space to volume group.
>
> I could create a new partition with fdisk and use pvcreate
> to add it to the volume group with vgextend.
>
> But the empty space in disk is adjacent to an existing physical
> volume.
>
> So I'd like to just enlarge the physical volume to use the
> empty space.
>
> I seem to remember this is possible, and is even easy.
> Presimanly I can use fdisk to enlarge the physical partition
> and then pvextend to enlarge the physical volume.
>
> But I may not remember correctly, and I cannot find the
> documentation I used a few years ago to confirm that this
> will actually work.
>
> Google just finds me pages describing the simplest cases of
> LVM usage.
>
> -- hendrik
> _______________________________________________
> Dng mailing list
> Dng@???
> Manage your subscription: https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng
> Archive: https://lists.dyne.org/lurker/list/dng.en.html
>