Root partition full

gabriel@dhcppc1:~> df
S.ficheros         Bloques de 1K   Usado    Dispon Uso% Montado en
/dev/sda2             20641788  19587920      5228 100% /
devtmpfs               1026376       288   1026088   1% /dev
tmpfs                  1027932         4   1027928   1% /dev/shm
/dev/sda3            284948380 202593252  67880564  75% /home

Being sda2 the root parition.
I checked /tmp and it was 8 GB in size :open_mouth:

What can i do clear up some space?
Is there any way of cleaning /tmp?

Thanks

Taken from this link: clean up disk space in SuSE linux

Look in YaST2.
Click on System -> /etc/sysconfig Editor. Click on Search and enter “TMP”. There are several options such as the MAX_DAYS_IN_TMP or CLEAR_TMP_DIRS_AT_BOOTUP which allow you to clear out /tmp in a cron job clearing out old tmp files or to clear out /tmp when you boot up.

Or you can edit /etc/sysconfig/cron directly. You can also add /var/tmp to the list of directories to clear out.

Also check your log rotation setup; /etc/syslog-ng/syslog-ng.conf. This file configures log rotation and how many backups to retain.

I changed MAX_DAYS_IN_TMP from 0 to 3.

Thanks!

assas1n wrote:

>
> Code:
> --------------------
> gabriel@dhcppc1:~> df
> S.ficheros Bloques de 1K Usado Dispon Uso% Montado en
> /dev/sda2 20641788 19587920 5228 100% /
> devtmpfs 1026376 288 1026088 1% /dev
> tmpfs 1027932 4 1027928 1% /dev/shm
> /dev/sda3 284948380 202593252 67880564 75% /home
> --------------------
>
>
>
> Being sda2 the root parition.
> I checked /tmp and it was 8 GB in size :open_mouth:
>
> What can i do clear up some space?
> Is there any way of cleaning /tmp?

rm ?

You might want to check out

https://bugzilla.novell.com/show_bug.cgi?id=633106


Per Jessen, Zürich (12.3°C)
http://en.opensuse.org/User:pjessen

Nada, con mucho gusto :slight_smile:

Checked it, and it isnt that, just random files.
ty