/ full?

Tony Hammitt thammitt at kc.rr.com
Sun Dec 1 18:31:32 CST 2002


If you're still working on this, try doing the following recursively:

# cd /
# du -sk *
# cd <biggest disk-space using directory in the output above>
# du -sk *

....

du only works right if you're running as root, otherwise you'll get lots 
of permissions errors

I get:

83293106        Backup
814965  admin
5578    bin
20987   boot
2956    dev
11404   etc
2101649 home
49045   lib
13496801        mnt
3       old
du: proc/4071/fd/4: No such file or directory
787989  proc
592873  root
5561    sbin
21      tmp
5382490 usr
321980  var

So if I go into /usr and do it again, I get:

215576  X11R6
148703  bin
4215    doc
0       etc
3128    games
309     i586-mandrake-linux
26957   include
544569  lib
12      libexec
3450933 local
1166    man
20168   sbin
650827  share
315923  src
0       tmp

So now I know that it's /usr/local that's taking up 3.5 of the 5.3GB 
used in /usr

Jim Herrmann wrote:

>What I sent to the list is the full DF.  I figured everything would go into 
>the root directory that wasn't in /home.  Was that an incorrect assumption?  
>My /var shows 65M and my /opt only 81M.  /usr is pretty big at 2.2G, but 
>still only half of the / partition.
>On Saturday 30 November 2002 12:43 am, Dale wrote:
>  
>
>>What is the full DF printout?
>>Do you have a seperate partition for every dir?
>>Mine basically looks like
>>/dev/sda3    202226     74837    116947  40% /
>>/dev/sda1     23302      4892     17207  23% /boot
>>/dev/sdb1   8817104   1992280   6376928  24% /home
>>/dev/sda7   2798808     41540   2615096   2% /opt
>>/dev/sda5   2790864    871440   1777652  33% /usr
>>/dev/sda6   2790864     85372   2563720   4% /var
>>
>>Course consider me different.. I bust everything down
>>and back it all up. that way I can restore a file
>>system easy if need be.
>>If you don't have seperate file systems for /opt you
>>can quickly end up with a lot of stuff in there.
>>Basically picks up the 3rd party installs such as
>>netscrap and things of that nature.
>> Same with /var since you logs will eat into that if
>>you generate several.
>>
>>
>>__________________________________________________
>>Do you Yahoo!?
>>Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
>>http://mailplus.yahoo.com
>>
>>
>>    
>>
>
>
>
>
>  
>




More information about the Kclug mailing list