Check file system and LVM info
1 | # df -hT |grep rhel |
Backup /home
1 | # tar zcf /p/home.tgz -C /home . |
Unmount /home
1 | # umount -l /dev/mapper/rhel-home |
Remove the /home logical volume
1 | # lvremove /dev/mapper/rhel-home |
Recreate a new 500GB logical volume from /home, format and mount it
1 | # lvcreate -L 500GB -n home rhel |
Extend your /root volume with all remaining space and resize (-r) the file system
1 | # lvextend -r -l +100%FREE /dev/mapper/rhel-root |
Restore your backup of /home
1 | # tar xvf /p/home.tgz -C /home |
Sync the changes
1 | # dracut --regenerate-all --force |