Boot up with an Fedora Live USB stick.
- Run
vgs
to check if there's any space:
$ sudo vgs
VG #PV #LV #SN Attr VSize VFree
fedora_dhcp35--100 1 3 0 wz--n- <237.28g 0
or
Run 'lsblk'
$ sudo lsblk
nvme0n1 259:0 0 476.9G 0 disk
├─nvme0n1p1 259:1 0 1G 0 part /boot
└─nvme0n1p2 259:2 0 475.9G 0 part
└─luks-fce8cd76-9b7e-45d2-878b-6a8733eb32ca 253:0 0 475.9G 0 crypt
├─fedora_dhcp35--100-root 253:1 0 70G 0 lvm /
├─fedora_dhcp35--100-swap 253:2 0 15.6G 0 lvm [SWAP]
└─fedora_dhcp35--100-home 253:3 0 390.3G 0 lvm /home
- If there is you can just run:
lvresize -L +5G --resizefs /dev/mapper/fedora_dhcp35--100-root
NB: Remember to check where your fedora root
and home
partition is mounted by running fdisk -l
.
- If you don't have any free
VFree
space, you can shrink yourhome
partition and then extend yourroot
partition afterwards.
To scrink your home
partition run:
lvresize -L -10G --resizefs /dev/mapper/fedora_dhcp35--100-home
And then to extend your root
partition run:
lvresize -L +10G --resizefs /dev/mapper/fedora_dhcp35--100-root