From owner-freebsd-questions@FreeBSD.ORG Wed Sep 26 20:20:23 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 2D75416A420 for ; Wed, 26 Sep 2007 20:20:23 +0000 (UTC) (envelope-from aliyaharbouri@gmail.com) Received: from ug-out-1314.google.com (ug-out-1314.google.com [66.249.92.174]) by mx1.freebsd.org (Postfix) with ESMTP id B5DFB13C4A3 for ; Wed, 26 Sep 2007 20:20:22 +0000 (UTC) (envelope-from aliyaharbouri@gmail.com) Received: by ug-out-1314.google.com with SMTP id a2so1402632ugf for ; Wed, 26 Sep 2007 13:20:12 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; bh=OCcG7AWZ187ARZ+DQO9FO0hpk+lhT9X8VuUR5oGkV0c=; b=rO5NFDsojA5A2excyqWvDwN+Gwi4jWduRdMvEnersJK2LCl7VSWZo0D4hoOyKvGpQcpYzfvk1ejaZTcgIsblMgwprPPWPL3jf/+I7na6/DJeRv5qhosrpUDsPpT2FF/P5CfokPwV131y8JPASHGXmaNBpg5yqh0gPTuRkh7dLBU= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=F9UioK0uODCuTxmYOpLd8tjCVW3eOk0wzEX0+I+VCYZo89b7Ic4rNTw3xd+y9Y/WYkl7GATwHlcNS//BKguHAbmcmBK27Hjtzmd2XZ79m6YPBfZ8N9kk26gdrIdwiz3JoYMkAoMp3C6+zNnd1Lru2NoyOANkFCLDmwyKa2hF5as= Received: by 10.66.221.17 with SMTP id t17mr2676381ugg.1190838011714; Wed, 26 Sep 2007 13:20:11 -0700 (PDT) Received: by 10.67.91.14 with HTTP; Wed, 26 Sep 2007 13:20:11 -0700 (PDT) Message-ID: Date: Wed, 26 Sep 2007 13:20:11 -0700 From: "Aliya Harbouri" To: "User Questions" MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline Subject: 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 20:20:23 -0000 Hi! I'm setting up a jailed server. I'm hoping to eventually use sysutils/ezjail to deaden the pain a bit! First step, have to get the disks partitioned! They're unpacked, at least ;-) I've read lots of comments like, "You should never setup your FreeBSD systems the way Linux or other *nix's set them up." So, I'm looking for some Wisdom on how best to partition for the usage I'm planning. The server's goal state is 4 jails, plus the non-jailed host: jail-1: DNS services {Bind9 & RBLDNSD} jail-2: WebServer {Apache 22x + PHP5 + Perl 588 + MySQL 50x} jail-3: mail server {Exim 468 + Spamassassin + ClamAV, etc.} jail-4: an analysis/monitoring toolkit {Snort, Nagios, Nessus, etc.} I've got two identical 250 GB SATA2 drives available for this box. Although I have not yet grokked the whole "What's in a jail's dirs?" issue, my initial stab at 'slices' is ~: drive 2: / 2GB /boot 2GB /tmp 2GB /swap 16GB Machine has 8GB RAM, so swap = 2X RAM /usr 50GB /jails 178GB drive 2: /var 100GB /data 100GB MailStore, DBs, www source files, etc. /home 20GB I'll betcha some of that's silly or wasteful. Any insighful comments or better advice on this ^^ would make me a happy gal :-) Thanks a lot! Ali