You are not logged in.

#1 2010-05-07 12:10:45

M_ller
Member
Registered: 2010-04-17
Posts: 80
Website

[SOLVED] /dev/sda3 suddenly 100% full?

Okay, so here's the deal:
I've used Ubuntu and Linux Mint for quite awhile, but really wanted to try out ArchLinux, and I must admit I'm amazed.

But suddenly after starting up my Arch Linux (XFCE4 desktop if that helps) crashes at boot. It fails at dbus due to /dev/sda3 is full, but how did that happen? I do certainly not have the machine filled up to the last bit.
When I installed it, and chose the various partition information, I chose ext4 and just used the recommended size for all of them.

My df output from root (can't copy paste as I'm on my laptop, that's why the whitespace fails)
Filesystem    1K-blocks        Used     Available   Use%   Mounted on
/dev/sda3      7566432   7566432                0    100%   /
udev                 10240           204        10036      2%    /dev
shm              1678728               0    1678728       0%   /dev/shm
/dev/sda1       101105        13619        82265      15%  /boot
/dev/sda4   472790032  23424668  425348996       6% /home

Any solution?

Last edited by Moller (2010-05-07 12:40:28)

Offline

#2 2010-05-07 12:14:23

fsckd
Forum Fellow
Registered: 2009-06-15
Posts: 4,173

Re: [SOLVED] /dev/sda3 suddenly 100% full?

Clear/move your pacman cache, check for abnormally large log files, etc.


aur S & M :: forum rules :: Community Ethos
Resources for Women, POC, LGBT*, and allies

Offline

#3 2010-05-07 12:15:16

falconindy
Developer
From: New York, USA
Registered: 2009-10-22
Posts: 4,111
Website

Re: [SOLVED] /dev/sda3 suddenly 100% full?

Moller wrote:

I do certainly not have the machine filled up to the last bit.

...

Filesystem    1K-blocks        Used     Available   Use%   Mounted on
/dev/sda3      7566432   7566432                0    100%   /

There's a serious disagreement here, and I'm going to side with the hardware.

Moller wrote:

Any solution?

Sure, remove some files. You can use `du -sh /*` (where / is the root of /dev/sda3) to find out which directory is hogging all the space, and drill down, run du again, drill down...

Offline

#4 2010-05-07 12:21:35

M_ller
Member
Registered: 2010-04-17
Posts: 80
Website

Re: [SOLVED] /dev/sda3 suddenly 100% full?

fsckd:
That gave me approx 4% more space.

falconIndy:
du -sh /*
4.0M /bin
12M /boot
204k /dev
6.1m /etc
23g /home
95m /lib
16k /lost+found
16k /media
4.0k /mnt
246m /opt
du: cannnot access /proc/1850/task/1850/fd/4: no such file or directory
du: cannnot access /proc/1850/task/1850/fdinfo/4: no such file or directory
du: cannnot access /proc/1850/fd/4: no such file or directory
du: cannnot access /proc/1850/fdinfo/4: no such file or directory
0 /proc
532k /root
13m /sbin
12k /srv
0 /sys
12k /tmp
2.6g /usr
3.5g /var

What would you suggest to remove etc?

EDIT: And by the last bit, I mean that it's almost a newly-installed Arch. My old Linux Mint was filled up a lot more, in /home that is.

Last edited by Moller (2010-05-07 12:22:42)

Offline

#5 2010-05-07 12:24:18

Ashren
Member
From: Denmark
Registered: 2007-06-13
Posts: 1,229
Website

Re: [SOLVED] /dev/sda3 suddenly 100% full?

Check /var/log for runaway logging.

Offline

#6 2010-05-07 12:26:40

M_ller
Member
Registered: 2010-04-17
Posts: 80
Website

Re: [SOLVED] /dev/sda3 suddenly 100% full?

Ashren wrote:

Check /var/log for runaway logging.

Mind explaining that? I've never messed with these logs.

EDIT:
In /var/log I have 2.7g with du -h
4k ./old
56k ./ConsoleKit
2.7g .

Is it safe to remove all the files in /var/log?

EDIT2:
I have a 2.0g slim.log, damn that's big.

Last edited by Moller (2010-05-07 12:30:33)

Offline

#7 2010-05-07 12:27:32

hokasch
Member
Registered: 2007-09-23
Posts: 1,461

Re: [SOLVED] /dev/sda3 suddenly 100% full?

just look inside /var and see what takes up the space? logfiles are in /var/log

edit: du can show file size as well

Last edited by hokasch (2010-05-07 12:30:28)

Offline

#8 2010-05-07 12:31:11

M_ller
Member
Registered: 2010-04-17
Posts: 80
Website

Re: [SOLVED] /dev/sda3 suddenly 100% full?

hokasch wrote:

just look inside /var and see what takes up the space? logfiles are in /var/log

edit: du can show file size as well

Yeah, I used du -sh * for that, and it seems I have got a 2.0g slim.log file.
I assume it's perfectly safe to remove it?

Offline

#9 2010-05-07 12:32:50

hokasch
Member
Registered: 2007-09-23
Posts: 1,461

Re: [SOLVED] /dev/sda3 suddenly 100% full?

yep. you might want to check out why it got spammed, or the same will happen again... if you don't want to open a 2 gig text file, delete it first and check again after a reboot.
one more edit,, - get rid of the remaining 700mb as well

Last edited by hokasch (2010-05-07 12:35:02)

Offline

#10 2010-05-07 12:34:10

M_ller
Member
Registered: 2010-04-17
Posts: 80
Website

Re: [SOLVED] /dev/sda3 suddenly 100% full?

hokasch: I have noticed SLIM (my login manager) fails to "shutdown" when I shutdown the computer. I'll look into that after removing it.

EDIT1: My use% is now 68%, but isn't that quite much anyway?

Last edited by Moller (2010-05-07 12:34:45)

Offline

#11 2010-05-07 12:36:58

fsckd
Forum Fellow
Registered: 2009-06-15
Posts: 4,173

Re: [SOLVED] /dev/sda3 suddenly 100% full?

Moller wrote:

My use% is now 68%, but isn't that quite much anyway?

No, it depends on what you have installed.

Edit: If you're really scared, you can always try to make your partition bigger.

Last edited by fsckd (2010-05-07 12:37:48)


aur S & M :: forum rules :: Community Ethos
Resources for Women, POC, LGBT*, and allies

Offline

#12 2010-05-07 12:38:16

M_ller
Member
Registered: 2010-04-17
Posts: 80
Website

Re: [SOLVED] /dev/sda3 suddenly 100% full?

In my opinion, not much. But thanks, it worked out good. I can boot into the machine again (:

Offline

#13 2010-05-07 12:39:47

fsckd
Forum Fellow
Registered: 2009-06-15
Posts: 4,173

Re: [SOLVED] /dev/sda3 suddenly 100% full?

If the problem is solved, mark the thread as solved. Good luck with slim.


aur S & M :: forum rules :: Community Ethos
Resources for Women, POC, LGBT*, and allies

Offline

#14 2010-05-07 12:42:46

hokasch
Member
Registered: 2007-09-23
Posts: 1,461

Re: [SOLVED] /dev/sda3 suddenly 100% full?

with empty package cache:

du -sh /var/
226M    /var/

Yours should still be 1.5g after deleting the 2gb slim log... but at least you know now how to hunt down big files/directories.

Offline

Board footer

Powered by FluxBB