Help! My Root Partition is Almost Full on Kubuntu – What Can I Do?

0
3
Asked By TechieTornado23 On

I've been using Kubuntu for about a month now, and I set it up with separate root and home partitions to make switching distros easier down the line. I initially thought that 80 GB for the root partition would be plenty since I figured my 300 GB home partition would fill up with apps and files over time. However, I'm now down to just 1 GB of free space on the root partition.

I've tried various methods to free up space, like removing unnecessary packages, uninstalling apps, cleaning the APT cache, and going through systemd journal logs, but not much has helped. I also find Dolphin's file structure a bit confusing, especially since it shows 'home' as a folder within the root directory.

I have enough space on my SSD to resize the partitions (I have a 1 TB SSD with around 200 GB free on a 600 GB Windows partition), but I know this can lead to issues, plus I worry it might just fill up again.

Is there something I'm missing? Are files saving to the root partition instead of the home partition? Can someone help me figure out what might be filling up the root partition?

5 Answers

Answered By FileFinder007 On

Have you tried installing filelight? It's great for getting a visual representation of your file sizes and locations. In my situation, I found big docker images and large PostgreSQL databases taking up a lot of room.

Answered By KernelGuru84 On

I faced a similar issue before and ended up writing a cleanup script to manage my space better. Deleting all snap applications and switching back to Deb packages helped me reclaim a good amount of storage. Keeping an eye on old kernel files is key too—they accumulate quickly!

Answered By CuriousCoder89 On

Check out the log files and the systemd journal size in the `/var/log` directory. Sometimes certain programs can create massive logs that fill up the space really fast.

Answered By DataDetective31 On

You should definitely investigate what's consuming your disk space. 80 GB sounded good at first, but there are often hidden culprits. Install QDirStat to visualize your disk usage—it really helps track down what's using your space.

Answered By DiskDude42 On

For monitoring disk usage, run the command `sudo du -sh /* | sort -rh`. This will display the sizes of all the main folders in the root directory. You can also do it recursively for more details. If you're confused about what's in each partition, remember that you can use `sudo du -sh /home` to see how much space your home folder is using.

Related Questions

LEAVE A REPLY

Please enter your comment!
Please enter your name here

This site uses Akismet to reduce spam. Learn how your comment data is processed.