Date: Thu, 25 Feb 1999 02:55:22 -0600 From: "Matthew D. Fuller" <fullermd@futuresouth.com> To: "Michael C. Vergallen" <mvergall@mail.double-barrel.be>, Yev <phate1@ix.netcom.com> Cc: freebsd-chat@FreeBSD.ORG Subject: Re: resizing partitions? Message-ID: <19990225025522.G3203@futuresouth.com> In-Reply-To: <Pine.LNX.4.04.9902250610410.4478-100000@ns.double-barrel.be>; from Michael C. Vergallen on Thu, Feb 25, 1999 at 06:26:39AM %2B0100 References: <36D4C713.C7AE0C24@ix.netcom.com> <Pine.LNX.4.04.9902250610410.4478-100000@ns.double-barrel.be>
index | next in thread | previous in thread | raw e-mail
[moving to -chat, this could be an interesting thread but it's not
-stable fodder]
On Thu, Feb 25, 1999 at 06:26:39AM +0100, a little birdie told me
that Michael C. Vergallen remarked
> I personally use :
>
> / 100MB
> /swap 2x actual memory upto max off 256MB
> /var 200MB
> /usr 1600MB
> /home 100MB per user
> /usr/local rest of disc
[Generally good rationale snipped]
My take:
Obviously, it matters a lot what this is for... production server looks
a lot different than my workstation, which looks a lot different than Joe
Blow's I-wanna-learn-FreeBSD system. Here's what I tend towards for a
generic system:
/ 40-200 megs (depending on space avail.)
swap at least twice physical, up to some utterly insane maximum
(I always prefer to overdo swap. Disk is cheap, better safe
than sorry)
/var Generally left on / unless it's REALLY gonna get traffic
/home Often (Joe Blow's machine case) symlinked to /usr/home
/usr Everything else
That's a good basic config that gives you room to grow, without too many
restrictions, but still with segmentation. On some smaller systems, I
stick var -> /usr/var as well. I practically always, except in severe
cases, have a seperate / and /usr. /home on a vast number of systems
(unless they're explicitly 'lots of people login directly' machines) goes
under /usr nicely and uses space more efficiently.
Swap. You can NEVER have enough swap. NEVER NEVER NEVER NEVER NEVER!!!!
This machine has 128 meg of RAM.
(ttyp1):{1715}% pstat -s
Device 1024-blocks Used Avail Capacity Type
/dev/wd0s1b 131072 94872 36136 72% Interleaved
/dev/wd2s1b 131072 94772 36236 72% Interleaved
/dev/sd1s1b 262144 95168 166912 36% Interleaved
/dev/sd0s1b 262144 94836 167244 36% Interleaved
Total 786176 379648 406528 48%
I remember thinking 'hehehe, maybe someday I'll go completely nuts and
use 64 meg of swap space'. Joke woulda been on me if I hadn't
overplanned, eh? ;>
Source/make world stuff. On most machines, I install src/sys.
Generally, I handle {build|install}world's from a central machine (this
workstation, in this case) with seperate async,noatime /usr/src and
/usr/obj to really go nuts.
Production servers are a completely different story of course. News has
a seperate (ccd) /usr/local/news. Web server has a /usr/local/www or the
like. Mail server has a /mail. Any machine that serves as a 'lots of
people login to me' has a seperate /home. And so on... But the above
general idea works pretty well for most non-specific systems, with hard
drive space from 100 megs to perhaps 3-4 gigs; beyond that, you will want
to segment more, of course. /usr/obj is particularly nice to seperate;
newfs is a lot faster than (rm -rf ; chflags -R ; rm -rf).
My $0.02.
---
*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*
| Matthew Fuller http://www.over-yonder.net/~fullermd |
* fullermd@futuresouth.com fullermd@over-yonder.net *
| UNIX Systems Administrator Specializing in FreeBSD |
* FutureSouth Communications ISPHelp ISP Consulting *
| "The only reason I'm burning my candle at both ends, |
* is because I haven't figured out how to light the *
| middle yet" |
*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-chat" in the body of the message
help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19990225025522.G3203>
