[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: Filled up the filesystem. How?



At 7:57 AM +0300 6/8/05, Dotan Cohen wrote:

>> Dotan Cohen wrote:
>> > On 6/8/05, Alexander Dalloz <ad+lists uni-x org> wrote:
>> >
>> >>Am Di, den 07.06.2005 schrieb Dotan Cohen um 23:39:
>> >>
>> >>
>> >>>Last week I wrote that I somehow filled 7 out of 10 [gigs] in my linux
>> >>>partition. Today that last bit was filled- I am at 100% capacity.
>> >>>
>> >>>I cannot download email or create new files. What could be the cause
>> >>>of this? Where should I look for bloat? What can I delete?
 ...
>> > /var/logs is 23 megs (same as last week)
>> > /var is 1.3 gigs (same as last week)
>> > /usr is 3.7 gigs (same as last week)
>> > /proc is 480 megs (same as last week)
>> >
>> > I only checked those because those were the biggies last week. The
>> > system is so slow now that it takes a long time for it to caculate
>> > those values. Where else should I look?
>> >
>> > Dotan
>> >
>>
>> Dotan -
>>
>> Can you show us an output of:
>>
>> /sbin/fdisk -l|df -i
 ...
>Here is th output:
>
>[root localhost dotancohen]# /sbin/fdisk il|df -i
>
>Unable to open il
>Filesystem            Inodes   IUsed   IFree IUse% Mounted on
>/dev/mapper/VolGroup00-LogVol00
>                     1308160  222207 1085953   17% /
>/dev/hda2              26208      50   26158    1% /boot
>none                   60413       1   60412    1% /dev/shm
>You have new mail in /var/spool/mail/root
>[root localhost dotancohen]#
>
>Also, I ran yum clean all. I run in after every update.
>
>My biggest directories are:
>/proc 480 meg
>/var 1.8 gig
>/usr 3.7 gig
>of which:
>/usr/lib is 1.7 gig
>/usr/share is 1.3 gig
>
>Does that look normal? Where else can I look for bloat? What can I
>(safely) erase?

The output of "lsof +L1" will show open unlinked files which might be using
space.

10 GB isn't so large a partition these days. Here's what's on mine. Other
than having the developer tools and a couple of kernel builds my
installation is pretty vanilla and new. I know what's in /home; my /var is
smaller than yours; my /usr/lib and /usr/share are about the same size.

[root localhost ~]# du -BM --max-depth=1 / | grep ^[0123456789][0123456789]
991M    /var
61M     /etc
3151M   /home
333M    /lib
10M     /boot
515M    /proc
15M     /sbin
3466M   /usr
8578M   /
[root localhost ~]# du -BM --max-depth=1 /var | grep ^[0123456789][0123456789]
67M     /var/lib
54M     /var/spool
133M    /var/cache
734M    /var/tmp
991M    /var
[root localhost ~]# du -BM --max-depth=1 /var/tmp | grep ^[0123456789][0123456789]
734M    /var/tmp/kernel-2.6.11-1.27_FC3.tonyn-root
734M    /var/tmp
[root localhost ~]# du -BM --max-depth=1 /usr | grep ^[0123456789][0123456789]
1637M   /usr/lib
1402M   /usr/share
132M    /usr/bin
141M    /usr/X11R6
20M     /usr/libexec
115M    /usr/include
17M     /usr/sbin
3466M   /usr
[root localhost ~]# du -BM --max-depth=1 /usr/lib | grep ^[0123456789][0123456789]
89M     /usr/lib/Omni
29M     /usr/lib/mozilla-1.7.8
25M     /usr/lib/firefox-1.0.4
995M    /usr/lib/ooo-1.1
20M     /usr/lib/gcc
94M     /usr/lib/locale
44M     /usr/lib/perl5
102M    /usr/lib/python2.3
1637M   /usr/lib
[root localhost ~]# du -BM --max-depth=1 /usr/share | grep ^[0123456789][0123456789]
13M     /usr/share/terminfo
71M     /usr/share/man
18M     /usr/share/sgml
30M     /usr/share/gtk-doc
18M     /usr/share/vim
22M     /usr/share/ghostscript
30M     /usr/share/festival
17M     /usr/share/fonts
229M    /usr/share/doc
13M     /usr/share/themes
41M     /usr/share/foomatic
33M     /usr/share/comps
19M     /usr/share/pixmaps
11M     /usr/share/info
13M     /usr/share/tuxracer
12M     /usr/share/dia
54M     /usr/share/emacs
52M     /usr/share/gnome
150M    /usr/share/texmf
17M     /usr/share/backgrounds
52M     /usr/share/gimp
263M    /usr/share/locale
67M     /usr/share/icons
11M     /usr/share/zoneinfo
10M     /usr/share/i18n
1402M   /usr/share
____________________________________________________________________
TonyN.:'                       <mailto:tonynelson georgeanelson com>
      '                              <http://www.georgeanelson.com/>


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]