1

I recently received notification that my "Filesystem Root" was running out of remaining space. I followed along this thread. After cleaning up a few folders, this is the output of df -h

Filesystem      Size  Used Avail Use% Mounted on
udev            3.9G     0  3.9G   0% /dev
tmpfs           789M  2.1M  787M   1% /run
/dev/sda3        28G   25G  1.9G  93% /
tmpfs           3.9G   26M  3.9G   1% /dev/shm
tmpfs           5.0M  4.0K  5.0M   1% /run/lock
tmpfs           3.9G     0  3.9G   0% /sys/fs/cgroup
/dev/loop3      5.0M  5.0M     0 100% /snap/canonical-livepatch/41
/dev/loop2       87M   87M     0 100% /snap/core/4830
/dev/loop0      5.0M  5.0M     0 100% /snap/canonical-livepatch/39
/dev/loop1       87M   87M     0 100% /snap/core/4650
/dev/sda4       200G  9.6G  180G   6% /mnt/b0267352-7943-4965-bbfc-c0728cd84462
/dev/sda1       234M   16M  218M   7% /boot/efi
tmpfs           789M   20K  789M   1% /run/user/124
tmpfs           789M   88K  789M   1% /run/user/1000
/dev/loop5       87M   87M     0 100% /snap/core/4917

After running sudo baobab /, I noticed that most of my local files are stored under /home/username, including Downloads, Documents, Pictures, etc. Is this normal, and if not, how can I set /dev/sda4 as the default location for local files?

Alternatively, should I allocate all the space from /dev/sda4 into / to make it bigger? For context, this is all on a single 256G SSD.

1 Answers1

1

Using a live CD:

  • Move your ~10GB of data on your /dev/sda4 to a single new folder.
  • Move everything under your /home folder to /dev/sda4.
  • Edit your system's /etc/fstab to add a permanent mount of /dev/sda4 at /home, that has now become empty folder on your root filesystem.

reboot!

M K
  • 2,505