Installed the server version of Fedora in a lvm physical volume.
~]# df Filesystem 1K-blocks Used Available Use% Mounted on devtmpfs 4096 0 4096 0% /dev tmpfs 8147016 0 8147016 0% /dev/shm tmpfs 3258808 1992 3256816 1% /run /dev/mapper/fedora_hpz440-root 15718400 12344216 3374184 79% / tmpfs 8147020 36 8146984 1% /tmp /dev/nvme0n1p4 1038336 475108 563228 46% /boot /dev/nvme0n1p3 613184 6320 606864 2% /boot/efi tmpfs 1629400 3788 1625612 1% /run/user/1000
Quickly started running out of space. Created a second physical volume and used vgextend to add it to the volume group.
~]# vgextend fedora_hpz440 /dev/nvme0n1p6
Increased the size of the logical volume with some of the space of the second physical volume.
~]# lvextend -L +150G /dev/mapper/fedora_hpz440/root
~]# vgdisplay fedora_hpz440 File descriptor 53 (anon_inode:inotify) leaked on vgdisplay invocation. Parent PID 3867: -bash File descriptor 58 (/memfd:pulseaudio (deleted)) leaked on vgdisplay invocation. Parent PID 3867: -bash --- Volume group --- VG Name fedora_hpz440 System ID Format lvm2 Metadata Areas 2 Metadata Sequence No 12 VG Access read/write VG Status resizable MAX LV 0 Cur LV 1 Open LV 1 Max PV 0 Cur PV 2 Act PV 2 VG Size <416.17 GiB PE Size 4.00 MiB Total PE 106539 Alloc PE / Size 90893 / 355.05 GiB Free PE / Size 15646 / <61.12 GiB VG UUID XbAT6W-lu9n-hnUQ-fzQT-ndfw-DiaQ-KZq75s
Still running out of space. df doesn't show any increase.
]# df Filesystem 1K-blocks Used Available Use% Mounted on devtmpfs 4096 0 4096 0% /dev tmpfs 8147008 0 8147008 0% /dev/shm tmpfs 3258804 2040 3256764 1% /run /dev/mapper/fedora_hpz440-root 15718400 13444136 2274264 86% / tmpfs 8147012 16 8146996 1% /tmp /dev/nvme0n1p4 1038336 573872 464464 56% /boot /dev/nvme0n1p3 613184 6316 606868 2% /boot/efi tmpfs 1629400 164 1629236 1% /run/user/1000
Can't find a command to actually resize the file system.