View previous topic :: View next topic |
Author |
Message |
apiaio Guru

Joined: 04 Dec 2008 Posts: 428
|
Posted: Mon Apr 14, 2025 8:33 pm Post subject: root partition is full [SOLVED] |
|
|
Code: | # df -h
Filesystem Size Used Avail Use% Mounted on
/dev/root 114G 112G 0 100% /
devtmpfs 10M 0 10M 0% /dev
tmpfs 32G 1.5M 32G 1% /run
shm 32G 0 32G 0% /dev/shm
efivarfs 192K 150K 38K 80% /sys/firmware/efi/efivars
|
I do not know what has happened. What should I check?
AFAIR it used to be up to 60%.
Last edited by apiaio on Tue Apr 15, 2025 7:43 am; edited 1 time in total |
|
Back to top |
|
 |
szatox Advocate

Joined: 27 Aug 2013 Posts: 3603
|
Posted: Mon Apr 14, 2025 9:23 pm Post subject: |
|
|
If it filled up suddenly: portage temp dir
Over a longer time: portage distfiles and possibly packages, if you enabled building them.
In general: /var/log can sometimes get quite naughty.
And obviously /home can fill up with downloads and stuff.
I tend to find the biggest directories with
du -hsx * | sort -h
Unfortunately, * does get in the way of x a bit. Well, it is still a decent starting point, give it a shot. _________________ Make Computing Fun Again |
|
Back to top |
|
 |
Hu Administrator

Joined: 06 Mar 2007 Posts: 23334
|
Posted: Mon Apr 14, 2025 10:02 pm Post subject: |
|
|
I would use du -hx | sort -h | less, with the idea that since sort is focusing your attention on the worst offenders, and less is letting you skip around, there is no need to enable summary mode. This also lets you avoid use of *, so that -x has full effect. |
|
Back to top |
|
 |
apiaio Guru

Joined: 04 Dec 2008 Posts: 428
|
Posted: Tue Apr 15, 2025 7:45 am Post subject: |
|
|
Thank you guys. It was /var/log/apache2/error_log. |
|
Back to top |
|
 |
|