From owner-freebsd-questions@FreeBSD.ORG Fri Nov 26 06:08:13 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3694616A4CE for ; Fri, 26 Nov 2004 06:08:13 +0000 (GMT) Received: from clunix.cl.msu.edu (clunix.cl.msu.edu [35.9.2.10]) by mx1.FreeBSD.org (Postfix) with ESMTP id A5FCD43D2D for ; Fri, 26 Nov 2004 06:08:12 +0000 (GMT) (envelope-from jerrymc@clunix.cl.msu.edu) Received: (from jerrymc@localhost) by clunix.cl.msu.edu (8.11.7p1+Sun/8.11.7) id iAQ689p08578; Fri, 26 Nov 2004 01:08:09 -0500 (EST) From: Jerry McAllister Message-Id: <200411260608.iAQ689p08578@clunix.cl.msu.edu> To: trey@fastmail.fm (Trey Sizemore) Date: Fri, 26 Nov 2004 01:07:45 -0500 (EST) In-Reply-To: <1101435959.12139.4.camel@salamander.thesizemores.net> from "Trey Sizemore" at Nov 25, 2004 09:25:59 PM X-Mailer: ELM [version 2.5 PL2] MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit cc: freebsd-questions@freebsd.org Subject: Re: Partition sizes X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 26 Nov 2004 06:08:13 -0000 > > I'll be installing FBSD 5.3 on an 80GB hard drive (machine has 512MB of > RAM) and was considering the following partitions: > > / > /usr > /usr/local > /var > /var/tmp > /tmp > /home > SWAP For that big a main disk, my likely division would be something like: / 512 MB swap 1.25 GB /tmp 512 MB /usr 2 GB /var 4 GB /home all remaining disk - probably be about 66 GB before newfsing. Then, I wouldn't have a separate /usr/local or /var/tmp partitions. I would use /tmp for tmp stuff and since /var is big, not worry about the few things that want to assume tmp is in var. For /usr/local, /usr/src and /usr/ports, I would copy them in to home as /home/usr.local /home/usr.src and /home/usr.ports and then make sym links to them in /usr If that sounds confusing, check the archive. I and several others have posted detailed steps to do it several times over the last year or so. If you are going to do a database or something that will really eat up space in /var, then you might want to move some of that to /home in a similar manner. If you don't have any of that stuff, you might want to cut /var in half. If you install Apache (or another web server), this should accomodate that too. You would most likely be putting your document root in something that lives in /home - maybe in /usr/local (which is really /home/usr.local) or just in /home/some_user_id/www or whatever so since the big user of space is the web pages themselves, it will be using up the most space in /home too. Have fun, ////jerry > > I'm looking for some recommendations around what the partition sizes > should be assuming I'm allocating the entire disk to FreeBSD. It will > be a used as a desktop and not a server, but I'd be curious about the > sizing differences as I'll be setting up a similar machine as a > mail/FTP/web server. > > Thanks. > > > --=20 > Cheers, > Trey > --- > > The most costly of all follies is to believe passionately in the > palpably > not true. It is the chief occupation of mankind. > -- H.L. Mencken=20 > > 9:25pm up 3:13, 4 users, load average: 1.74, 0.80, 0.56=20 > Linux salamander 2.6.8-20041025161453-default #1 Mon Oct 25 16:14:53 UTC > 2004 i686 i686 i386 GNU/Linux > > --=-rDwP+bTRGCl/yAYcEhar > Content-Type: application/pgp-signature; name=signature.asc > Content-Description: This is a digitally signed message part > > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v1.2.4 (GNU/Linux) > > iD8DBQBBppQ3EGwvX2++Pg0RAtwHAJoDnpXTy4CTn2Bxp2luxMCCUw+5FQCfbKyP > BSXJjHQkVM0Mf+PAB7rboEU= > =2g17 > -----END PGP SIGNATURE----- > > --=-rDwP+bTRGCl/yAYcEhar-- > >