linux newbie here. I am seeing that the file system mounted at the root (/) is only allocated 20GB and my /home is allocated 406GB. I'd like to take resources from /home and increase the allocated size for root. Can someone please let me know how I can do this?

$ df -h 
Filesystem      Size  Used Avail Use% Mounted on
udev            3.9G     0  3.9G   0% /dev
tmpfs           794M  9.5M  785M   2% /run
/dev/sdc2        20G   16G  2.6G  87% /
tmpfs           3.9G  276M  3.7G   7% /dev/shm
tmpfs           5.0M  4.0K  5.0M   1% /run/lock
tmpfs           3.9G     0  3.9G   0% /sys/fs/cgroup
/dev/sda2        96M   31M   66M  32% /boot/efi
/dev/sdc4       406G   15G  371G   4% /home
tmpfs           794M   84K  794M   1% /run/user/1000
  • With a tool like gparted or its live media version you might be able to shrink sdc4 and assign the space to sdc2. You will have to deal with sdc3 as well. It's not without risks, thus ensure your data is backed up. It might be easier to just reinstall and restore the backup. When you reinstall, use LVM for more storage management flexibility. – berndbausch Feb 19 at 23:25

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.