From owner-freebsd-questions@FreeBSD.ORG Tue Apr 18 00:42:01 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org 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 DA69716A400 for ; Tue, 18 Apr 2006 00:42:01 +0000 (UTC) (envelope-from brendan@grossman.id.au) Received: from porsche.brendan.id.au (219-90-148-157.ip.adam.com.au [219.90.148.157]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6145D43D46 for ; Tue, 18 Apr 2006 00:42:01 +0000 (GMT) (envelope-from brendan@grossman.id.au) Received: from dvditnb1 (mint.brendan.local [192.168.2.10]) by porsche.brendan.id.au (Postfix) with ESMTP id ECAA928469 for ; Tue, 18 Apr 2006 08:07:57 +0930 (CST) From: "Brendan Grossman" To: Date: Tue, 18 Apr 2006 08:08:06 +0930 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook, Build 11.0.5510 Thread-Index: AcZibld3WpJdDnOVSCefMWb0p88bIgAAGH1w X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180 In-Reply-To: <200604171429.01202.beech@mangohealth.org> Message-Id: <20060417223757.ECAA928469@porsche.brendan.id.au> Subject: RE: /boot at beginning of drive 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: Tue, 18 Apr 2006 00:42:01 -0000 > > > > > Databases are stored in /var/db for security reasons > > > > > > > > Just curious... What are the security reasons? After > some thought, > > > > here's what I'm planning on doing... > > > > > > > > Disk is 73gb scsi... > > > > > > > > / 500mb > > > > swap 4gb > > > > /var 4gb > > > > /usr 4gb > > > > /home remainder (about 60gb) > > > > > > > > then /var/db/mysql -> /home/mysql > > You can safely leave /home as part of the /usr filesystem > i.e. it will be /usr/home. That will gain you 4gb overall. I > usually only define /home if I'm using a separate drive or > network filesystem. If you're going to symlink mysql you > probibly don't need 4GB in var. My webserver is running > @500MB on /var with 10 databases. 1 or 2GB will be plenty. Hmm is there much point then in having /var separate? I have 300 users that need 200mb max space each. That's 60gb of user data if maxed out. The data will generally be in /var/db/mysql and /home Now if I was to have a 2gb /var, if it gets filled up by say half the users' databases, then there's half left whom will be unable to create databases since /var is full. That's why I want to put all if not most user data on one partition. If I put /home on /usr, I might as well just do the following and save any headaches... / 500mb swap 4gb /usr remainder Then /home -> /usr/home And /var -> /usr/var