Root ran out of space..but it should have plenty

Gooberlx2

Lifer
May 4, 2001
15,381
6
91
For some reason my opensuse root filesystem (ext3) is showing as out of space.

So I booted into an Ubuntu Live CD, and ran the disk usage analyzer.

It reports the drive as 118.1GB at 100% used. However, going through the folders, it's only showing 8GB used between them (with about 6.4GB of that in /usr, and only ~700MB in /tmp, which I thought might have been the culprit). :confused:

Any ideas on what might have happened?
 

Gooberlx2

Lifer
May 4, 2001
15,381
6
91
Ugh...dummy me. I didn't run baobab as root, so it wasn't gathering a bunch of shit in /tmp that was restricted. Found the extra 110GB of shit in there.

Is it safe to just empty out /tmp?
 

child of wonder

Diamond Member
Aug 31, 2006
8,307
176
106
I would find out what's dumping all those files in /tmp first, then look into stopping that process and deleting the files if they're not needed.
 

xSauronx

Lifer
Jul 14, 2000
19,582
4
81
I would find out what's dumping all those files in /tmp first, then look into stopping that process and deleting the files if they're not needed.

seriously, wow.

disk space errors got me using separate /, /var, /temp, and /home volumes a couple of years ago. /var/log only had to fill up one time to get that lesson learned.
 

child of wonder

Diamond Member
Aug 31, 2006
8,307
176
106
seriously, wow.

disk space errors got me using separate /, /var, /temp, and /home volumes a couple of years ago. /var/log only had to fill up one time to get that lesson learned.

Agreed.

Something is spamming /tmp full of data. OP should find out what's doing it then look into fixing the problem and preventing it from happening.

Proper partitioning of your OS drive by separating out your /, /var, /home, /tmp, drives will prevent the / partition from filling up with logs or temporary files and bringing the entire OS down.
 

Nothinman

Elite Member
Sep 14, 2001
30,672
0
0
Agreed.

Something is spamming /tmp full of data. OP should find out what's doing it then look into fixing the problem and preventing it from happening.

Proper partitioning of your OS drive by separating out your /, /var, /home, /tmp, drives will prevent the / partition from filling up with logs or temporary files and bringing the entire OS down.

Except that filling up of / or really any filesystem won't bring the entire OS down. It might cause some weird problems and missed log entries, but that's about it.

tmpreaper is always one of the first things I install on a new Debian installation.
 
Dec 23, 2009
6
0
0
For some reason my opensuse root filesystem (ext3) is showing as out of space.

So I booted into an Ubuntu Live CD, and ran the disk usage analyzer.

It reports the drive as 118.1GB at 100% used. However, going through the folders, it's only showing 8GB used between them (with about 6.4GB of that in /usr, and only ~700MB in /tmp, which I thought might have been the culprit). :confused:

Any ideas on what might have happened?


By the way, the command to see the information of size, used, free for each mounted partition is:
Code:
df -kHT
No need to run a liveCD to get this information.