Date: Fri, 26 Nov 2004 01:07:45 -0500 (EST) From: Jerry McAllister <jerrymc@clunix.cl.msu.edu> To: trey@fastmail.fm (Trey Sizemore) Cc: freebsd-questions@freebsd.org Subject: Re: Partition sizes Message-ID: <200411260608.iAQ689p08578@clunix.cl.msu.edu> In-Reply-To: <1101435959.12139.4.camel@salamander.thesizemores.net> from "Trey Sizemore" at Nov 25, 2004 09:25:59 PM
next in thread | previous in thread | raw e-mail | index | archive | help
> > 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-- > >
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200411260608.iAQ689p08578>