From owner-freebsd-questions@FreeBSD.ORG Tue Apr 18 03:24:16 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 72CD216A405 for ; Tue, 18 Apr 2006 03:24:16 +0000 (UTC) (envelope-from beech@mangohealth.org) Received: from pinnacle.akherb.com (94-37-237-24.gci.net [24.237.37.94]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8B39443D55 for ; Tue, 18 Apr 2006 03:24:14 +0000 (GMT) (envelope-from beech@mangohealth.org) Received: by pinnacle.akherb.com (Postfix, from userid 1007) id 0E2C25D5D; Mon, 17 Apr 2006 19:24:14 -0800 (AKDT) X-Spam-Checker-Version: SpamAssassin 3.1.1 (2006-03-10) on pinnacle.akherb.com X-Spam-Level: X-Spam-Status: No, score=0.0 required=4.0 tests=AWL autolearn=ham version=3.1.1 Received: from [192.168.2.160] (209-124-141-064.ip.arctic.net [209.124.141.64]) by pinnacle.akherb.com (Postfix) with ESMTP id 3B14C5C10; Mon, 17 Apr 2006 19:24:13 -0800 (AKDT) From: Beech Rintoul Organization: Mangohealth To: freebsd-questions@freebsd.org Date: Mon, 17 Apr 2006 19:23:59 -0800 User-Agent: KMail/1.9.1 References: <20060417223757.ECAA928469@porsche.brendan.id.au> In-Reply-To: <20060417223757.ECAA928469@porsche.brendan.id.au> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart2310013.hWBjc6hlUA"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit Message-Id: <200604171924.10722.beech@mangohealth.org> Cc: Brendan Grossman 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 03:24:16 -0000 --nextPart2310013.hWBjc6hlUA Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline On Monday 17 April 2006 14:38, Brendan Grossman wrote: > > > > > > 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 You could do that but, the main reason to separate /var is because it conta= ins=20 package databases, log files, password and group backup, etc... critical fo= r=20 a system restore. If you have to pull those files out of /usr it could make= =20 for a very long restore not to mention the headaches of securing it from yo= ur=20 regular users. Without mysql, var is not a big slice and well worth the=20 diskspace and added security. Building a system without the basic /, /var=20 and /usr is not an advantage unless you have a very diskspace limited=20 situation, which you don't. Beech =2D-=20 =2D------------------------------------------------------------------------= =2D------------- Beech Rintoul - Sys. Administrator - beech@mangohealth.org /"\ ASCII Ribbon Campaign | Mangohealth \ / - NO HTML/RTF in e-mail | 201 East 9Th Avenue Ste.310 X - NO Word docs in e-mail | Anchorage, AK 99501 / \ - XanGo - http://www.mangohealth.org =2D------------------------------------------------------------------------= =2D------------- --nextPart2310013.hWBjc6hlUA Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.3 (FreeBSD) iD8DBQBERFva2TFLCHYGSF0RAoeDAJ9ya19ad2U4HhpdWYtYfRcq8RSMvQCfaamN LDbnjpX1pAMCLwL040aMtmE= =TyDF -----END PGP SIGNATURE----- --nextPart2310013.hWBjc6hlUA--