Hi,
I have a lot of extra space on partition sda5 that I'd like to give to /home (fedora-home). Unfortunately, this is something I am not well-versed in and would really appreciate any assistance. How can I move that extra 497.6 GB to the home LVM if they're on the same partition?
Below is the output from running fdisk -l
, lsblk
, and df -Th
.
> fdisk -l
Disk /dev/sda: 931.5 GiB, 1000204886016 bytes, 1953525168 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disklabel type: dos
Disk identifier: 0xd223b240
Device Boot Start End Sectors Size Id Type
/dev/sda1 2048 500000767 499998720 238.4G 83 Linux
/dev/sda2 500000768 515624959 15624192 7.5G 82 Linux swap / Solaris
/dev/sda3 515624960 517722111 2097152 1G 83 Linux
/dev/sda4 517722112 1953523711 1435801600 684.7G 5 Extended
/dev/sda5 517724160 1953523711 1435799552 684.7G 8e Linux LVM
Disk /dev/mapper/fedora-root: 50 GiB, 53687091200 bytes, 104857600 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disk /dev/mapper/fedora-swap: 7.8 GiB, 8405385216 bytes, 16416768 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disk /dev/mapper/fedora-home: 129.3 GiB, 138797907968 bytes, 271089664 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
> lsblk
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT
sda 8:0 0 931.5G 0 disk
├─sda1 8:1 0 238.4G 0 part
├─sda2 8:2 0 7.5G 0 part
├─sda3 8:3 0 1G 0 part /boot
├─sda4 8:4 0 1K 0 part
└─sda5 8:5 0 684.7G 0 part
├─fedora-root 253:0 0 50G 0 lvm /
├─fedora-swap 253:1 0 7.8G 0 lvm [SWAP]
└─fedora-home 253:2 0 129.3G 0 lvm /home
sr0 11:0 1 1024M 0 rom
> df -Th
Filesystem Type Size Used Avail Use% Mounted on
devtmpfs devtmpfs 3.9G 0 3.9G 0% /dev
tmpfs tmpfs 3.9G 23M 3.9G 1% /dev/shm
tmpfs tmpfs 3.9G 2.1M 3.9G 1% /run
tmpfs tmpfs 3.9G 0 3.9G 0% /sys/fs/cgroup
/dev/mapper/fedora-root ext4 50G 16G 31G 34% /
tmpfs tmpfs 3.9G 36K 3.9G 1% /tmp
/dev/sda3 ext4 976M 188M 721M 21% /boot
/dev/mapper/fedora-home ext4 128G 105G 17G 87% /home
tmpfs tmpfs 789M 12K 789M 1% /run/user/42
tmpfs tmpfs 789M 36K 789M 1% /run/user/1000