Expanding /root on CentOS7
-
How do I expand /root on CentOS7?
Filesystem Size Used Avail Use% Mounted on /dev/mapper/cl-root 50G 44G 6.9G 87% / devtmpfs 3.9G 0 3.9G 0% /dev tmpfs 3.9G 0 3.9G 0% /dev/shm tmpfs 3.9G 8.5M 3.9G 1% /run tmpfs 3.9G 0 3.9G 0% /sys/fs/cgroup /dev/sda1 1014M 139M 876M 14% /boot /dev/mapper/cl-home 447G 33M 447G 1% /home tmpfs 783M 0 783M 0% /run/user/0
-
-
@DustinB3403 Anyway to do this keeping it all on one drive? I can add space to the end of the drive very easily.
-
There may be a way to do so, that was the top google result for this query.
Here is another topic marked as solved.. Which he backs up the partitions, removes them, adds them back and finally expands the partition.
-
There are multiple ways. You have to expand each piece. Start with growing the disk. Then grow the volume. Then grow the file system.
-
I ended up using this guide: