You are not logged in.

#1 2014-09-12 18:21:58

mir91
Banned
Registered: 2013-11-17
Posts: 143

Disk suddenly full, no idea why

On the home partition I had like 8 GB free space, now all of a sudden 100% is used! I have no idea why and by what.
How can I find out what happened there? I'm completely stumped.

Offline

#2 2014-09-12 18:30:27

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,424
Website

Re: Disk suddenly full, no idea why

There are few tools for this. Look in your journal, use ncdu to see what is taking up space, etc


Not a Sysadmin issue, moving to NC...


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#3 2014-09-12 19:18:35

drcouzelis
Member
From: Connecticut, USA
Registered: 2009-11-09
Posts: 4,092
Website

Re: Disk suddenly full, no idea why

jasonwryan wrote:

There are few tools for this. Look in your journal, use ncdu to see what is taking up space, etc

I do it the stupidly simple way: "du -sh /*" (Use "man du" to find out what it does.) Find out which directory is taking up the most space, then "drill down", if you follow my meaning. smile

If the drive is too full to even boot, just boot from a live disc and mount the drive.

Offline

#4 2014-09-12 19:24:31

Morn
Member
Registered: 2012-09-02
Posts: 886

Re: Disk suddenly full, no idea why

I would recommend kdeutils-filelight for this.

Offline

#5 2014-09-12 20:09:00

mir91
Banned
Registered: 2013-11-17
Posts: 143

Re: Disk suddenly full, no idea why

Thanks, I ended up using

find /home -mtime -1 -ls

and it seems it's from game updates in Steam.

Offline

#6 2014-09-12 20:22:41

emeres
Member
Registered: 2013-10-08
Posts: 1,570

Re: Disk suddenly full, no idea why

mir91 wrote:

it seems it's from game updates in Steam.

 So checking if there is enough space before downloading is too advanced/complex for Steam developers? Must be an obvious oversight. Maybe you can inform them about this, but make sure it does not prevent the user from downloading, only warns/informs him.

Offline

#7 2014-09-13 02:36:37

amish
Member
Registered: 2014-05-10
Posts: 470

Re: Disk suddenly full, no idea why

Could be due to coredumps? I had 700MB used all of sudden and then realized that it was coredump.

Check: /var/lib/systemd/coredump

man coredump.conf

Offline

#8 2014-09-13 10:24:01

mir91
Banned
Registered: 2013-11-17
Posts: 143

Re: Disk suddenly full, no idea why

Nice, I had 2GB coredumps just from "Brasero" it seems, weird stuff..

Offline

#9 2014-09-13 10:31:35

graysky
Wiki Maintainer
From: :wq
Registered: 2008-12-01
Posts: 10,600
Website

Re: Disk suddenly full, no idea why

Just FYI, ncdu is a great lightweight util for this task as well.  As an aside, limit coredumps in the future in /etc/systemd/coredump.conf and see the coredump.conf man page.


CPU-optimized Linux-ck packages @ Repo-ck  • AUR packagesZsh and other configs

Offline

Board footer

Powered by FluxBB