From owner-freebsd-questions@FreeBSD.ORG Tue Dec 2 16:26:04 2008 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 2337E1065672 for ; Tue, 2 Dec 2008 16:26:04 +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 B79058FC16 for ; Tue, 2 Dec 2008 16:26:03 +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 mB2GL8CU090261; Tue, 2 Dec 2008 11:21:08 -0500 (EST) (envelope-from jerrymc@gizmo.acns.msu.edu) Received: (from jerrymc@localhost) by gizmo.acns.msu.edu (8.13.6/8.13.6/Submit) id mB2GL8r3090260; Tue, 2 Dec 2008 11:21:08 -0500 (EST) (envelope-from jerrymc) Date: Tue, 2 Dec 2008 11:21:08 -0500 From: Jerry McAllister To: Pieter Donche Message-ID: <20081202162108.GD90039@gizmo.acns.msu.edu> References: 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: "mail.list freebsd-questions" Subject: Re: (no subject) 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, 02 Dec 2008 16:26:04 -0000 On Tue, Dec 02, 2008 at 10:56:44AM +0100, Pieter Donche wrote: > If one has a system with 7 500Gb SATA disks in a hardware RAID6 > (Areca Raid Controller), then (according to mail J.Chadwick 7 > Nov 2008) they will show up as da (following naming convention > for scsi disks although they are not). > RAID6 will allow about 2,5 Tb for the 'user' (roughly 1 Tb will > be consumed by the parity information of RAID6). > > How will this 2,5 Tb space present itself at the time of initial > install of FreeBSD? > Will this be a single 'disk' ad0 ? .. correct or not (then what)? It will start out looking like a single large disk /dev/da0. > > If FreeBSD is to put on the system as only operating system (Fdisk: > "A = Use Entire disk"), then will the BSD-partitions will show up as > ad0a (/), ad0b (swap), ad0d (/var) etc... correct or not (then what)? > > Page 427 of the FreeBSD handbook states that due to the use of 32-bit > integers to store the number of sectors is limited to 2^32 -1 > sectors/disk = 2 TB. A layout could be > a / 1Gb, > b swap, > d /root 20 Gb, (a /root partition is from an example of someone who > claims that at boot FreeBSD checks the partions in background except > for the / partition, by keeping / as small as possible, the time to > boot can be mimimized .. correct? but will /root ever be something > big ??) No, it will not. Do not make /root a separate partition/filesystem. Leave it in / > e /tmp 20 Gb, > f /var 20 Gb, > g /usr 20 Gb > this leaves 2420 Gb which is more than 2 Tb, so you can't put all > that in 1 filesystem h /home, you will need to split that in 2 > BSD-paritions, but since you can't have more that 8 BSD-partitions > (highest BSD-partition letter is h), you need to give up at least > one of d, e, f, g. ... correct or not (then what)? If you really need this much disk, there must be a reason. What do you intend to put in it? My suggestion would be to put a lot more in /var because that is where data base utilities default to putting their data. Then you can reduce the amount left over to what would fit in /home. So, a: 1 GB / b: 4 GB swap d: 7 GB /tmp e: 20 GB /usr ports can just be left here then f: 1024 GB /var databases live here g: remainder /home (Approximately 1536 GB) You can shift this around as you need. Maybe 2048 GB /home and 512 GB /var ////jerry > > What is the best scheme of BSD-partitioning in this case? > _______________________________________________ > 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"