ES 3.0 Typical/Everything Disk Space Info

Rick Stevens rstevens at vitalstream.com
Fri Apr 23 18:15:21 UTC 2004


Rick Stevens wrote:
> Carr, Steve M CW4 FL-ARNG wrote:
> 
>> Rick, picking automatic partitioning and load everything automatically 
>> loads
>> everything under the "/ (root)" directory.  
> 
> 
> Everything is ALWAYS under the "/" directory (that's why it's called
> "root" :-) ).  The question is whether things such as "/usr" are simple
> directories or mountpoints where other filesystems are mounted.  In my
> example at the bottom of this post, you can see that /usr, /var, /images
> and /work are separate filesystems.  A similar table for the running
> system to yours would show:
> 
>     [root at prophead /]# du -hs
>     52G     .
> 
>     [root at prophead /]# du -hs *
>     5.5M    bin
>     4.5M    boot
>     428K    dev
>     42M     etc
>     0       home   (symlink to /usr/home)
>     35G     images
>     85M     lib
>     16K     lost+found
>     4.0K    misc
>     20K     mnt
>     4.0K    oldsys
>     4.0K    opt
>     515M    proc
>     1.9M    root
>     17M     sbin
>     52K     tftpboot
>     684K    tmp
>     12G     usr
>     775M    var
>     3.3G    work
> 
> So one would think 52G is in "/", when in reality, only 773M is actually
> in "/" (see my table below).  The rest is in filesystems MOUNTED under
> "/".  This is why you must be really clear about the differences between
> directories and filesystems.

Oops!  Make that '...188M is actually in "/"' (read the wrong column!)

> 
>> I added another line for clarification.  Thanks for pointing out the 
>> confusion of the table. 
> 
> 
> That's my job!  ;-P
> 
>>
>>
>>> If you are planning to manual configure your partitions this will 
>>> help in
>>> determining partition sizes.
>>> RedHat's documentation says ("/"  350MB-5GB) and  ("/var"  3GB or 
>>> larger).
>>>
>>> This info was gather using Automatic Partition
>>>
>>> When installing RedHat ES 3.0 here are the disk space usage after 
>>> install
>>> for Typical / Everything.
>>>
>>> MB Table
>>> - - - - - -  -Typical - - - - - - - - - Everything
>>> ==============- - - -===================- - - - - / - - - - - 
>>> 1,461,040 - - - - - - - - - 4,162,096
>>
>>
>> All the below directories are install under "/".
>>
>>> /usr - - -  1,344,648 - - - - - - - - - 3,888,528
>>> /lib - - -     50,276 - - - - - - - - - 145,420
>>> /var - - - - - 30,668 - - - - - - - - - 86,092
>>> /etc - - - - - 18,000 - - - - - - - - - 23,504
>>> /sbin - - - -  11,400 - - - - - - - - - 11,872
>>> /bin - - - - -  4,900 - - - - - - - - - 5,336
>>> /root - - - - - - 528 - - - - - - - - - 604
>>> /dev - - - - - - -428 - - - - - - - - - 428
>>> /tmp - - - - - - - 40 - - - - - - - - - 44
>>> /home - - - - - -  36 - - - - - - - - - 64
>>> /opt - - - - - - -  4 - - - - - - - - - 4
>>> All others were 4 or less
>>
>>
>>
>> Uh, that's not a good example, Steve.  Try giving us the output of
>> "df -h".  There is no way that "/" has 4GB of stuff in it--that must
>> include all of the partitions mounted under it.  "df -h" will show the
>> disk usage by filesystem/mount point.  My "full install Fedora Core 1"
>> install shows:
>>
>>  [root at prophead root]# df -h
>> Filesystem            Size  Used Avail Use% Mounted on
>> /dev/hda1            1012M  188M  773M  20% /
>> /dev/hda2              40G   31G  7.0G  82% /images    (CD-ROM images)
>> none                  252M     0  252M   0% /dev/shm
>> /dev/hda7              66G   12G   51G  20% /usr    (Development)
>> /dev/hda5             4.0G  806M  3.0G  22% /var
>> /dev/hda3              40G  3.3G   35G   9% /work    (More develop.)
>>
>> The VAST majority of stuff ends up in /usr.
>> ----------------------------------------------------------------------
>> - Rick Stevens, Senior Systems Engineer     rstevens at vitalstream.com -
>> - VitalStream, Inc.                       http://www.vitalstream.com -
>> -                                                                    -
>> -   You possess a mind not merely twisted, but actually sprained.    -
>> ----------------------------------------------------------------------
>>
>>
>> _______________________________________________
>> Redhat-install-list mailing list
>> Redhat-install-list at redhat.com
>> https://www.redhat.com/mailman/listinfo/redhat-install-list
>> To Unsubscribe Go To ABOVE URL or send a message to:
>> redhat-install-list-request at redhat.com
>> Subject: unsubscribe
>>
>>
>> _______________________________________________
>> Redhat-install-list mailing list
>> Redhat-install-list at redhat.com
>> https://www.redhat.com/mailman/listinfo/redhat-install-list
>> To Unsubscribe Go To ABOVE URL or send a message to:
>> redhat-install-list-request at redhat.com
>> Subject: unsubscribe
>>
> 
> 


-- 
----------------------------------------------------------------------
- Rick Stevens, Senior Systems Engineer     rstevens at vitalstream.com -
- VitalStream, Inc.                       http://www.vitalstream.com -
-                                                                    -
-      To err is human, to forgive, beyond the scope of the OS       -
----------------------------------------------------------------------





More information about the Redhat-install-list mailing list