On Mon, Jan 22, 2024 at 07:01:13PM +0100, to...@tuxteam.de wrote:
> On Mon, Jan 22, 2024 at 11:02:06AM -0500, Greg Wooledge wrote:
> > On Mon, Jan 22, 2024 at 03:17:36PM +0000, Alain D D Williams wrote:
> > > The shrinking of /home is the hard part. You MUST first unmount /home, 
> > > then
> > > resize the file system, then resize the logical volume.
> > 
> > Before doing any of that, one should check the volume group and see
> > if there are unallocated hunks of free space that can simply be assigned
> > to the root LV.
> 
> Ah, forgot to say: "pvdisplay -m" will give you a "physical" map of
> your physical volume. So you get an idea what is where and where
> you find gaps.

A volume group (VG) may be comprised of one or more physical volumes
(PV), and the free space would be counted at the VG level.  So I'd suggest
"vgdisplay" instead.  This tells you how many "PE" (physical extents,
aka hunks of space) are allocated, and how many are free.

Reply via email to