How to free LVM pool space after initial install?
by mav1c from LinuxQuestions.org on (#5KHE6)
I have build a Centos 7.9 server with a very basic LVM config. Basically want just one big pool for VMs. After the initial install, there is zero free space in the device/pool. Any ideas why? What did I do wrong during the partition config? Is there an easy way to add the space back into the pool (vg_tvchost4)?
[root@tvc-host4 ~]# df -h
Filesystem Size Used Avail Use% Mounted on
devtmpfs 63G 0 63G 0% /dev
tmpfs 63G 0 63G 0% /dev/shm
tmpfs 63G 9.3M 63G 1% /run
tmpfs 63G 0 63G 0% /sys/fs/cgroup
/dev/mapper/vg_tvchost4-root 5.7T 2.5G 5.7T 1% /
/dev/sda2 2.0G 158M 1.9G 8% /boot
tmpfs 13G 0 13G 0% /run/user/0
[root@tvc-host4 ~]# ssm list
--------------------------------------------------------------
Device Free Used Total Pool Mount point
--------------------------------------------------------------
/dev/sda 5.73 TB
/dev/sda1 2.00 MB
/dev/sda2 2.00 GB /boot
/dev/sda3 0.00 KB 5.67 TB 5.67 TB vg_tvchost4
--------------------------------------------------------------
-----------------------------------------------------
Pool Type Devices Free Used Total
-----------------------------------------------------
vg_tvchost4 lvm 1 0.00 KB 5.67 TB 5.67 TB
-----------------------------------------------------
-------------------------------------------------------------------------------------------
Volume Pool Volume size FS FS size Free Type Mount point
-------------------------------------------------------------------------------------------
/dev/vg_tvchost4/root vg_tvchost4 5.66 TB xfs 5.66 TB 5.66 TB linear /
/dev/vg_tvchost4/swap vg_tvchost4 4.00 GB linear
/dev/sda2 2.00 GB xfs 1.99 GB 1.84 GB /boot
-------------------------------------------------------------------------------------------
[root@tvc-host4 ~]# df -h
Filesystem Size Used Avail Use% Mounted on
devtmpfs 63G 0 63G 0% /dev
tmpfs 63G 0 63G 0% /dev/shm
tmpfs 63G 9.3M 63G 1% /run
tmpfs 63G 0 63G 0% /sys/fs/cgroup
/dev/mapper/vg_tvchost4-root 5.7T 2.5G 5.7T 1% /
/dev/sda2 2.0G 158M 1.9G 8% /boot
tmpfs 13G 0 13G 0% /run/user/0
[root@tvc-host4 ~]# ssm list
--------------------------------------------------------------
Device Free Used Total Pool Mount point
--------------------------------------------------------------
/dev/sda 5.73 TB
/dev/sda1 2.00 MB
/dev/sda2 2.00 GB /boot
/dev/sda3 0.00 KB 5.67 TB 5.67 TB vg_tvchost4
--------------------------------------------------------------
-----------------------------------------------------
Pool Type Devices Free Used Total
-----------------------------------------------------
vg_tvchost4 lvm 1 0.00 KB 5.67 TB 5.67 TB
-----------------------------------------------------
-------------------------------------------------------------------------------------------
Volume Pool Volume size FS FS size Free Type Mount point
-------------------------------------------------------------------------------------------
/dev/vg_tvchost4/root vg_tvchost4 5.66 TB xfs 5.66 TB 5.66 TB linear /
/dev/vg_tvchost4/swap vg_tvchost4 4.00 GB linear
/dev/sda2 2.00 GB xfs 1.99 GB 1.84 GB /boot
-------------------------------------------------------------------------------------------