Re: Fwd: pvresize after pvcreate changes PV size: expected?

Stuart D Gathman <[email protected]> Mon, 13 Jan 2025 12:43:47 -0500 (EST)
Newsgroups gmane.linux.lvm.general
Message-ID <[email protected]>
On Mon, 13 Jan 2025, Tilman Vogel wrote:

> So, long story short: If I want to know how much space LVM is using
> for the PV such that I can resize the containing block device without
> loss, is it safe to use the value from `pvdisplay`?

I've always been confused by this as well.  I just make the containing
block device "extra big" and then let pvresize (or the filesystem
resize) detect the actual space available.