From owner-freebsd-questions@FreeBSD.ORG Wed Sep 26 21:37:39 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 E4C3116A418 for ; Wed, 26 Sep 2007 21:37:38 +0000 (UTC) (envelope-from jerrymc@gizmo.acns.msu.edu) Received: from gizmo.acns.msu.edu (gizmo.acns.msu.edu [35.8.1.43]) by mx1.freebsd.org (Postfix) with ESMTP id A6B0413C478 for ; Wed, 26 Sep 2007 21:37:38 +0000 (UTC) (envelope-from jerrymc@gizmo.acns.msu.edu) Received: from gizmo.acns.msu.edu (localhost [127.0.0.1]) by gizmo.acns.msu.edu (8.13.6/8.13.6) with ESMTP id l8QLaXG7044752; Wed, 26 Sep 2007 17:36:33 -0400 (EDT) (envelope-from jerrymc@gizmo.acns.msu.edu) Received: (from jerrymc@localhost) by gizmo.acns.msu.edu (8.13.6/8.13.6/Submit) id l8QLaXhb044751; Wed, 26 Sep 2007 17:36:33 -0400 (EDT) (envelope-from jerrymc) Date: Wed, 26 Sep 2007 17:36:33 -0400 From: Jerry McAllister To: Aliya Harbouri Message-ID: <20070926213633.GA44710@gizmo.acns.msu.edu> References: <3a386af20709261333r53afd674me9c2c58a6e2a3563@mail.gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.2.2i Cc: Federico Lorenzi , User Questions 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 21:37:39 -0000 On Wed, Sep 26, 2007 at 02:02:09PM -0700, Aliya Harbouri wrote: > > > drive 2: > > > / 2GB > > A bit big, but fine > > I though so, but with drives this big & cheap ... :-) > > > > /boot 2GB > > Nope, FreeBSD doesn't need / want a /boot > > I didn't realize :-/ > > Just to be sure, you DO mean it doesn't want a separate > slice/partition, right? Because, I'm looking at a "/boot" directory Yes, you should not put /boot in a separate filesystem. It should be in root. You have a lot for stuff like /usr, but really, how much you need in any file system depends on how you will use it. Try it and gain some experience with the setup and go from there. You can change it the next time you do a major upgrade. ////jerry > ... > > > > /tmp 2GB > > Fine > > OK. > > > > /swap 16GB Machine has 8GB RAM, so swap = 2X RAM > > A bit of overkill, but what the hell, you have the space > > I've had 2X RAM drummed into me for ages. Not the way of things in FreeBSD? > > > > /usr 50GB > > What exactly do you plan on running on the host? > > Normally, not a whole lot. I'll have a full Development environment > there, of course. cron, sshd, snmpd (haven't figured out yet if I need > that in EACH jail yet), etc -- "small stuff" mainly. Eventually some > VPN service via an an encryption card, but that's later. > > If I'm forced to do so, maybe KDE4 for rare/occassional use. Prefer not to ... > > > > /jails 178GB > > Fine... > > > > > > > drive 2: > > > /var 100GB > > Huh? Refer to /usr above. > > My guess @ /var sizing came as a result of, > > http://barryp.org/blog/entries/ezjail_ports/ > > "To keep both jailed and non-jailed systems from trying to put any > port-building working-directories or downloaded distribution files in > /usr/ports, the /etc/make.conf files (both the "real" one and the ones > inside jails) should contain something like: > > WRKDIRPREFIX= /var/ports > DISTDIR= /var/ports/distfiles > PACKAGES= /var/ports/packages" > > And having multiple ports copies ... But, now, as I'm re-reading that, > I think I got it backwards. This'll PREVENT having multiple, wasteful > copies. > > I think. > > > > /data 100GB MailStore, DBs, www source files, etc. > > Fine again... > > > /home 20GB > > Fine again.. > > > > > > > > I'll betcha some of that's silly or wasteful. > > You'd be correct there :) > > Give a girl a break! I must've missed the really-easy-and-clear > documentation on the whole thing! > > At least I asked first ;-p > > > I'm sure you could fit everything on one disk... Jails are really small, it's > > just your data that takes up space. If you could get everything in 250GB > > (which i think you could easily) RAID 1 might be a nice thing to have > > Now that's an interesting thought. My Mobo has 1 SATA-2 port (3 > devices), and 2 SATA-1 ports (1 device each). And it does support > SATA RAID 0/1. > > I'm NOT AT ALL sure what running RAID on 2 drives on a single SATA-2 > port does for performance, but it IS an interesting option. Tanks! > > > HTH > > It does :-) > > Thanks a lot! > > Ali > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org"