From owner-freebsd-questions@FreeBSD.ORG Wed Sep 26 22:15:34 2007 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6810E16A419 for ; Wed, 26 Sep 2007 22:15:34 +0000 (UTC) (envelope-from fbsd.questions@rachie.is-a-geek.net) Received: from snoogles.rachie.is-a-geek.net (rachie.is-a-geek.net [66.230.99.27]) by mx1.freebsd.org (Postfix) with ESMTP id 2F29E13C4BF for ; Wed, 26 Sep 2007 22:15:34 +0000 (UTC) (envelope-from fbsd.questions@rachie.is-a-geek.net) Received: from localhost (localhost [127.0.0.1]) by snoogles.rachie.is-a-geek.net (Postfix) with ESMTP id 4635C1CDEE for ; Wed, 26 Sep 2007 14:15:33 -0800 (AKDT) From: Mel To: freebsd-questions@freebsd.org Date: Thu, 27 Sep 2007 00:15:32 +0200 User-Agent: KMail/1.9.7 References: <3a386af20709261420q6feca0f0kb14290ee527ba7b7@mail.gmail.com> In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200709270015.32246.fbsd.questions@rachie.is-a-geek.net> Subject: Re: Any advice for a Partition Plan for a multi-jailed Server? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 26 Sep 2007 22:15:34 -0000 On Wednesday 26 September 2007 23:40:26 Aliya Harbouri wrote: > I did not know I COULD split swap. Hum. How does the system > use/allocate each across the split ... Ok, ok. That's what Googling's > for :-) Actually, swapon(8) tells a lot ;) > > > > Unless you're a packrat where logs are concerned, > > I'm not, really. I probably SHOULD be. > > > you can probably do with: > > > /var 10G (on disk 1) > > > And use: > > > /var/db 100G - this will house MySQL primarily > > > /var/spool 10-50G - any queues, most notably mail, disable softupdates. > > > Adjust size to match your mail payload. > > > /var/mail - "rest" - possibly disable softupdates. > > Good thoughts. Need to better understand why I care about softupdates > one way or the other, though. Generally, a mailserver doesn't benefit from softupdates, because it will wait for "committed to disk" signal from OS, to prevent mail from being lost. Over time you will also get a good idea of what kind of mail you're dealing with and tunefs(8) might be beneficial. It's one major reason I dislike "/data" mountpoints containing all different kinds of services. Over time budget and usage have a way of conflicting and you'll be happy to get any extra performance outof your machines. -- Mel