"Steven J. Yellin" wrote:
> 
>     I assume /tmp and /var/log are part of the / partition.  You can
> prevent / from being filled with their contents by using some other
> partition to hold /tmp and /var/log.  Just make those directories be
> symbolic links to directories on another partition.
> 
> On Thu, 24 Jan 2002, alexis Vasquez wrote:
> 
> >
> > It's a working server and the users conections made
> > the /tmp grows a huge.
> >
> > Im booting in character base mode.  may I uninstall or
> > delete the files of graphical mode   or  maybe some
> > other file that i don't need anymore.
> >
> > give me some ideas. every morning I have to :
> > ~ cd /tmp
> > ~ rm -f *
> > ..
> > ~ cd /var/log
> > ~ for i in *
> > > do
> > > cat /dev/null > $i
> > > done
> 
...snip...
Hi

This is how I partition my system's {minimally} :

swap            This must exist. See swap guide below.
/               250M {/root,/bin,/sbin,/etc,/dev}
/boot           30M
/home           500M
/mnt            30M
/tmp            120M
/usr            The rest of your drive up to 3G should be plenty.
/usr/src        120M
/var            120M
/var/log        120M
/var/spool      120M

Total           1410 + /usr + swap

This should be lots for a regular machine.

Swap Guide {these are guide lines not rules}

I never use more than 512M swap.
Minimum I use is 32M.

RAM             SWAP
---             ----
0M-32M          32M
32M-128M        2*RAM
128M-MAXRAM     512M

For lots of web stuff, you may want a {/var/www or /home/httpd}
partition.
For a mail server you may want {/var/spool/mail and maybe
/var/spool/mqueue}.

Most of the partitions will be under utilized, but I feel that it is
better to
be safe than sorry.


This is from a machine I am setting up as a replacement web server.

Filesystem           1k-blocks      Used Available Use% Mounted on
/dev/hda2               505164    107944    371138  23% /
/dev/hda1                58525      7532     47971  14% /boot
/dev/hda6              1860220    211240   1554484  12% /home
/dev/hda9              5149344    107520   4780252   3% /home/users
/dev/hda8               505132       577    478475   1% /tmp
/dev/hda5              4122352   1129476   2783468  29% /usr
/dev/hda10              505132     66202    412850  14% /var
/dev/hda11              505132     13169    465883   3% /var/log
/dev/hda7               505132      9858    469194   3% /var/spool

/dev/hda3 is the swap partition.
/dev/hda4 is the extended partition.

This machine doesn't have use a gui, if you install everything /usr
could reach up to 80% of the configuration of this machine.

An ide drive can be set-up with up to 13 partitions 1-4 can be primary 
partitions, 1 of the first four partitions can be an extended partition
supporting 10 {5-15} logical partitions.

Guy



_______________________________________________
Seawolf-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/seawolf-list

Reply via email to