From owner-freebsd-isp Thu Dec 16 14: 0:14 1999 Delivered-To: freebsd-isp@freebsd.org Received: from freebie.lemis.com (freebie.lemis.com [192.109.197.137]) by hub.freebsd.org (Postfix) with ESMTP id 81A4F15014 for ; Thu, 16 Dec 1999 14:00:08 -0800 (PST) (envelope-from grog@freebie.lemis.com) Received: (from grog@localhost) by freebie.lemis.com (8.9.3/8.9.0) id IAA47765; Fri, 17 Dec 1999 08:26:06 +1030 (CST) Date: Fri, 17 Dec 1999 08:26:06 +1030 From: Greg Lehey To: up@3.am Cc: Sue Blake , freebsd-isp@FreeBSD.ORG Subject: Re: partition sizes Message-ID: <19991217082605.G46720@freebie.lemis.com> References: <19991216140442.B88143@welearn.com.au> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0pre2i In-Reply-To: WWW-Home-Page: http://www.lemis.com/~grog X-PGP-Fingerprint: 6B 7B C3 8C 61 CD 54 AF 13 24 52 F8 6D A4 95 EF Organization: LEMIS, PO Box 460, Echunga SA 5153, Australia Phone: +61-8-8388-8286 Fax: +61-8-8388-8725 Mobile: +61-41-739-7062 Sender: owner-freebsd-isp@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On Wednesday, 15 December 1999 at 22:59:32 -0500, up@3.am wrote: > On Thu, 16 Dec 1999, Sue Blake wrote: > >> I'm rebuilding an ancient ISP server as two new FreeBSD servers, basically >> separating mail from the web/shell machine. >> >> Where there was two gigabytes to play with before (for the OS, swap, >> logs, ...), I find myself staring at about 8 on the new drives, and >> wondering how to make partitioning decisions that will still look >> resonable some time down the track. (The data drives will be brought >> across from the old system.) >> >> Apart from examining how the present system copes, is there something I >> should be reading, or is it just a matter of experience, or are all ISP >> systems started from best guesses and growed like Topsy? :-) > > for the mail server, I'd go: > > 500MB / > 1.5GB /usr > 4GB /var (put half of that in /home if you're using qmail) > 2GB /home > > For the web server (assuming customer sites are in ~): > > 500MB / > 2.5GB /usr > 1GB /var > 4GB /home > > There are sooo many variables, of course...where are the customer web logs > going to be? etc..) With either of these suggestions, when you run out of space on one partition, you'll have plenty on some other partition (probably / in this case, unless you're putting /tmp there, which is a Bad Idea). How can you possibly guess how big your /var file system will become? I would recommend: 50MB / 256MB swap (don't forget that!) rest /usr Then create symlinks for /tmp, /var and, if you need, /home. If you need to restrict growth of a specific file system, use quotas. If your disk is bigger than your backup tape, make enough equal-sized partitions so that each fits on a single tape. Greg -- Finger grog@lemis.com for PGP public key See complete headers for address and phone numbers To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-isp" in the body of the message