From owner-freebsd-questions@FreeBSD.ORG Thu May 5 13:25:44 2005 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7B71216A4CE for ; Thu, 5 May 2005 13:25:44 +0000 (GMT) Received: from out2.smtp.messagingengine.com (out2.smtp.messagingengine.com [66.111.4.26]) by mx1.FreeBSD.org (Postfix) with ESMTP id 10DE043D81 for ; Thu, 5 May 2005 13:25:44 +0000 (GMT) (envelope-from d@donnacha.com) Received: from frontend2.messagingengine.com (frontend2.internal [10.202.2.151]) by frontend1.messagingengine.com (Postfix) with ESMTP id 34677C89757; Thu, 5 May 2005 09:25:40 -0400 (EDT) X-Sasl-enc: o3f/msOueA8KP3j6sBzsdhkHHHct5AjlBrETy8XO8zC9 1115299539 Received: from [127.0.0.1] (82-41-213-217.cable.ubr12.edin.blueyonder.co.uk [82.41.213.217]) by frontend2.messagingengine.com (Postfix) with ESMTP id 4B2C7570147; Thu, 5 May 2005 09:25:39 -0400 (EDT) Message-ID: <427A1ED5.9050507@donnacha.com> Date: Thu, 05 May 2005 14:25:41 +0100 From: freebsd.org@donnacha.com User-Agent: Mozilla Thunderbird 1.0 (Windows/20041206) X-Accept-Language: en-us, en MIME-Version: 1.0 To: freebsd-questions@freebsd.org References: <200505051256.j45Cu2rM009492@clunix.cl.msu.edu> In-Reply-To: <200505051256.j45Cu2rM009492@clunix.cl.msu.edu> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit cc: Jerry McAllister Subject: Re: How should I divvy up my HDDs? Suggestions Please. X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 05 May 2005 13:25:44 -0000 Jerry, thanks for your advice! > If all your accounts and web pages > are really in /home and you have no databases, I would be inclined > to put both /usr and /var in the 80GB drive and leave the other one > for home directories and web pages. In The Complete FreeBSD, Greg Lehey suggests that it's a good idea to place web pages in /var, I don't quite grasp why. Do you think it would be a better idea to stick with the standard and leave web pages in /home? As for databases, I'll have a lot of MySQL DBs and possibly, at a later date, Postgresql. I'm hoping to specialize in forum-based web-sites and Web apps generally. As I understand it, forum content is actually stored in the DB and pulled dynamically via PHP, meaning, I think, that the DB of each forum will take up a lot more space that the templated PHP pages that make up the "site" part of the equation. I could be wrong about that. What about /tmp? Looking through this list's archives, I read that it's considered more secure to place /tmp on a seperate partition from /, would it be even more secure to place it on a seperate HDD? How big should /tmp be? Here's a pretty stupid question I have, apologies for my lack of clue: do I have to define the size of each partition? Is it difficult to change them at a later date? I'll only have command-line access. Thanks again, Donnacha Jerry McAllister wrote: >>Hello, I'm new to FreeBSD and this list, my name is Donnacha, I'm an >>Irishman living in Edinburgh, Scotland. >> >>I have read The Complete FreeBSD's section on disk partioning but would >>very much appreciate some advice on how to divide up the 2 HDDs I'm >>getting on my new server. >> >>The server is located in a facility in the US and will be used as a Web >>and email server. It has an 80GB HDD and a 200GB HDD, both IDE but I'm >>asking for them to be placed on seperate buses. >> >>I was thinking of using the 80GB as the primary and placing / on it, >>while putting /var, /usr and /home on the 200GB. >> >>I'll have 2GB of RAM, so, I was thinking about putting 2GB of swap on >>each HDD. >> >>How does that sound. I would be very grateful for any advice you can >>give me before I relay my instructions to the guys doing the installation. > > > It depends a lot on what you leave in /usr and /var and /home. > It kind of looks like you will leave the 80GB drive mostly empty > the way you are doing things. If all your accounts and web pages > are really in /home and you have no databases, I would be inclined > to put both /usr and /var in the 80GB drive and leave the other one > for home directories and web pages. Since the default place for > databases is in /var that can make a big difference on where you put > it or if you take the db directory out of /var and put it somewhere > else, etc. > > Putting some of your swap on each drive as you have indicated > is a good idea. > > ////jerry > > >>Thanks and I look forward to participating in this community, >> >>Donnacha >> >> >> >>_______________________________________________ >>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" >> > >