Skip to main content
Topic solved
This topic has been marked as solved and requires no further attention.
Topic: Root partition out of space [SOLVED] (Read 596 times) previous topic - next topic
0 Members and 2 Guests are viewing this topic.

Root partition out of space [SOLVED]

After the last upgrade, I am taking this: Your root partition is running out of disk space 90MB (0%). I ran bleachbit, but again I have the same problem. I also added
 
Code: [Select]
tmpfs   /tmp         tmpfs   rw,nodev,nosuid         0  0
at /etc/fstab
Still nothing
I had at least 30GB of free space in the root partition...
Any suggestions?

Re: Root partition out of space

Reply #1
Does Bleachbit clean pacman's package cache? If not, try pacman -Scc on a terminal. Over the years this folder can grow to tens of GB.



I'd recommend running du -h on folders that usually eat up space like /var/cache, ~/Downloads, etc (or a GUI equivalent like Filelight if you still have enough disk space to install them).

Re: Root partition out of space

Reply #2
As capezotte has already suggested, you may need to clean pacman's package cache:
Code: [Select]
sudo pacman -Scc

Disk usage analyzers like ncdu (cli), filelight and baobab (gui) are very useful in your case:

Code: [Select]
pacman -Ss ncdu
galaxy/ncdu 2.2.1-1 [installé]
    Disk usage analyzer with an ncurses interface
community/ncdu 2.2.1-1 [installé]
    Disk usage analyzer with an ncurses interface

Code: [Select]
pacman -Ss baobab
world/baobab 43.0-1 (gnome)
    A graphical directory tree analyzer
extra/baobab 43.0-1 (gnome)
    A graphical directory tree analyzer
Code: [Select]
pacman -Ss filelight
world/filelight 22.08.3-1 (kde-applications kde-utilities) [installé]
    View disk usage information
extra/filelight 22.08.3-1 (kde-applications kde-utilities) [installé]
    View disk usage information

 

Re: Root partition out of space

Reply #3
Thank you both!
I had 36GB in pacman cache!
Also, I had 56GB in yay cache (home partition)!
Now I can breathe easier!


Re: Root partition out of space [SOLVED]

Reply #5
@AntonyZ0 there's a Mark Solved button below the topic (to the left of Reply, Notify, Mark Unread, etc.). It'll add a green checkmark to the topic green in search so people know it's solved without reading the full title.

Re: Root partition out of space [SOLVED]

Reply #6
@tintin  yay -Scc clears all of them!
@capezotte I noticed it! Thank you!