Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Full disk
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo
View previous topic :: View next topic  
Author Message
LaZZer
n00b
n00b


Joined: 13 Jul 2002
Posts: 23
Location: Västerås, Sweden

PostPosted: Mon Jul 22, 2002 10:53 am    Post subject: Full disk Reply with quote

Without installing anything my disk gets full. on 2 days it has filled 2 gb without installling anythibg
/dev/hda6 36G 7.9G 28G 22% /
10 minutes ago it was 7,8G what can it be that filles my disk
Back to top
View user's profile Send private message
klieber
Bodhisattva
Bodhisattva


Joined: 17 Apr 2002
Posts: 3657
Location: San Francisco, CA

PostPosted: Mon Jul 22, 2002 11:33 am    Post subject: Re: Full disk Reply with quote

LaZZer wrote:
what can it be that filles my disk


Almost certainly your logfiles. Do you have snort, apache, mysql or some other high-volume application installed?

Check /var/log to see if there's one particular log that's getting out of control.

--kurt
_________________
The problem with political jokes is that they get elected
Back to top
View user's profile Send private message
puddpunk
l33t
l33t


Joined: 20 Jul 2002
Posts: 681
Location: New Zealand

PostPosted: Mon Jul 22, 2002 11:34 am    Post subject: ! Reply with quote

portage likes to fill your /usr/portage/distfiles directory with all the crud its downloaded, and helpfully doesnt delete it when its done (its trying to be nice ;)). just go in there and have a look at all the files sitting in there to see if thats your problem.

You can safely remove these files, but when you emerge that package again it will d/l off the net again.
Back to top
View user's profile Send private message
LaZZer
n00b
n00b


Joined: 13 Jul 2002
Posts: 23
Location: Västerås, Sweden

PostPosted: Mon Jul 22, 2002 11:38 am    Post subject: Reply with quote

No logfile is bigger then 2 mb
Back to top
View user's profile Send private message
klieber
Bodhisattva
Bodhisattva


Joined: 17 Apr 2002
Posts: 3657
Location: San Francisco, CA

PostPosted: Mon Jul 22, 2002 11:45 am    Post subject: Reply with quote

LaZZer wrote:
No logfile is bigger then 2 mb


And you're 100% positive you haven't installed anything over this period? Anyone else use the computer?

OK, so the next step is to figure out what directory is using all that space. Try something like the following:

Code:
du --max-depth=1 -h /


That will print out, at a summary level, how much space each top-level directory in your root partition is using. (this command can take a while)

From there, chances are there will only be one or two directories that are over 2GB in size, (/usr is likely one) so drill down on those directories:

Code:
du --max-depth=1 -h /mybigdir


and

Code:
du --max-depth=1 -h /mybigdir/mysubdir


And so on. That will let you find the one directory that's consuming all the space.
_________________
The problem with political jokes is that they get elected
Back to top
View user's profile Send private message
LaZZer
n00b
n00b


Joined: 13 Jul 2002
Posts: 23
Location: Västerås, Sweden

PostPosted: Mon Jul 22, 2002 11:58 am    Post subject: Reply with quote

4.4G /home/lazzer
thnx
Back to top
View user's profile Send private message
Naan Yaar
Bodhisattva
Bodhisattva


Joined: 27 Jun 2002
Posts: 1549

PostPosted: Mon Jul 22, 2002 12:45 pm    Post subject: Reply with quote

You can also try:
Code:

find / -size +1024k -exec ls -l {} \;

to find files greater than a size (substitute path for "/" and any size for 1024 above).
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum