You are not logged in.
Hello guys, yesterday I found out that my rootfs has got to 0 free space. Last time I checked it it was about 2 gigs, since then I have only installed 2-3 packages with total size ~100MB. I did "pacman -Scc" and it freed only 24 MB. I went to bed. I got up this morning and the space was shrinked to 22MB. What the hell is going on? I have not rebooted my machine yet, nor have I closed any opened app. Can u tell me how to determine what is eating the space, and eventually how to free it back? Thanks!
Last edited by raxbg (2012-04-07 20:41:38)
Offline
Try ncdu to identify which directories are using the most space
Offline
Probably /var/log.
Learn2logrotate.
Here's my /etc/logrotate.conf:
# see "man logrotate" for details
# rotate log files weekly
weekly
# keep 2 weeks worth of backlogs
rotate 2
# restrict maximum size of log files
size 100M
# create new (empty) log files after rotating old ones
create
# uncomment this if you want your log files compressed
compress
# Logs are moved into directory for rotation
# olddir /var/log/archive
# Ignore pacman saved files
tabooext + .pacorig .pacnew .pacsave
# Arch packages drop log rotation information into this directory
include /etc/logrotate.d
/var/log/wtmp {
monthly
create 0664 root root
rotate 1
}
I have made a personal commitment not to reply in topics that start with a lowercase letter. Proper grammar and punctuation is a sign of respect, and if you do not show any, you will NOT receive any help (at least not from me).
Offline
Thank you guys, I have never had problems with logs before. It was actually an apache error log which was 1.7 gigs lol. It was a mistake in one of my php scripts. Poor me, this only shows how good programmer am I
Offline
Don't forget to mark it as solved.
I have made a personal commitment not to reply in topics that start with a lowercase letter. Proper grammar and punctuation is a sign of respect, and if you do not show any, you will NOT receive any help (at least not from me).
Offline