Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
root partition is full [SOLVED]
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
apiaio
Guru
Guru


Joined: 04 Dec 2008
Posts: 428

PostPosted: Mon Apr 14, 2025 8:33 pm    Post subject: root partition is full [SOLVED] Reply with quote

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
View user's profile Send private message
szatox
Advocate
Advocate


Joined: 27 Aug 2013
Posts: 3603

PostPosted: Mon Apr 14, 2025 9:23 pm    Post subject: Reply with quote

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
View user's profile Send private message
Hu
Administrator
Administrator


Joined: 06 Mar 2007
Posts: 23334

PostPosted: Mon Apr 14, 2025 10:02 pm    Post subject: Reply with quote

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
View user's profile Send private message
apiaio
Guru
Guru


Joined: 04 Dec 2008
Posts: 428

PostPosted: Tue Apr 15, 2025 7:45 am    Post subject: Reply with quote

Thank you guys. It was /var/log/apache2/error_log.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum