Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 18 Oct 2001 14:58:02 -0400 (EDT)
From:      Weldon S Godfrey 3 <weldon@excelsus.com>
To:        Scott Gerhardt <scott@gerhardt-it.com>
Cc:        FreeBSD <freebsd-questions@FreeBSD.ORG>
Subject:   Re: Partitioning Suggestions 
Message-ID:  <20011018144526.M73194-100000@joule.excelsus.com>
In-Reply-To: <KPEMLBLEMPMHGLJOCDEGKEEPCKAA.scott@gerhardt-it.com>

next in thread | previous in thread | raw e-mail | index | archive | help

I would have seperate parts as you have done (/, swap, usr, and var).  I
have commented below

If my memory serves me right, sometime around Today, Scott Gerhardt told me:

> Here is how I plan to partion my 18GB drive:
>
> / 	= 100MB
seems okay, I have been doing 64M in the past, I am thinking of doing 128M
in the future.  This partician needs to reflect what you need for /tmp.  I
am upping because I think the root filesystem with 4.x has creeped up in
size and I haven't noticed

> SWAP	= 1GB (what if you have 4GB of RAM? 8GB of swap is insane)
I am not a big fan of the old unix 2x rule.  It depends how much main
memmory you expect your system to take up as it grows under highest loads.
I have been sticking to 256M to 1G for most purposes (256 for the most
part).  I am under the opinion if I *think* that Gigs of swap will be
needed, you should get more RAM (as RAM is cheap now).  If you are going
to run bind (named), remember that a highly used bind will cache a lot of
DNS entries, all in RAM.  Although you can control the cacheing behavor
with bind, it is best to have enough RAM so it isn't swapping a lot (or
even at all) unless you have a very good IO BUS (UW SCSI 160 or something)
I guess if a normal load causes 1G of memory usage, then having 2x RAM is
for highest load.  But not all applications will take up RAM like that.  I
guess I am a bad sysadmin, I just estimate based on what is being used.


> /usr	= 2GB
If your web server and users can fit with 2G, it is cool.  You might want
the users and web stuff to be on a seperate drive.  I find that 2GB is a
bit tight for even a modest web server.

> /var	= 13GB  - Data, WWW, Logs, FTP and Mail go here

You got the right idea, lots of memory for mail.  Although, if your users
don't keep all the mail on the server (when it pops off, it is removed,
you will find this may be overkill)...

Again, all this depends on the load of your server.

> This way I can move /var to additional drives/RAID as storage requirements
> increase.
>
> Any comments in terms of performance and future growth considerations?
>
>
> Thanks
>
>
> _________________________________
>
> Scott Gerhardt, P.Geo.
> Gerhardt Information Technologies
> _________________________________
>
>
> To Unsubscribe: send mail to majordomo@FreeBSD.org
> with "unsubscribe freebsd-questions" in the body of the message
>


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20011018144526.M73194-100000>