I am running centos 7 minimal. My /home partition is about 500gb and root is only 50gb. I need help figuring out how to reduce the /home partition so I have free space to allocate to the root partition.
My /home and root partitions are XFS file systems. I have not been able to find steps of how to get root to have more space by reducing other partitions because I know I cannot shrink an XFS file systems. So I am confused about how I can accomplish this since this is xfs.
[root@openstackcontroller ~]# df -h Filesystem Size Used Avail Use% Mounted on /dev/mapper/cl-root 50G 15G 36G 29% / devtmpfs 63G 0 63G 0% /dev tmpfs 63G 0 63G 0% /dev/shm tmpfs 63G 9.0M 63G 1% /run tmpfs 63G 0 63G 0% /sys/fs/cgroup /dev/sda1 1014M 233M 782M 23% /boot tmpfs 13G 0 13G 0% /run/user/0 /dev/mapper/cl-home 503G 4.2G 499G 1% /home [root@openstackcontroller ~]#
For the end result, I'd like to have the /home be 20gb so I can give all the rest to root.