From owner-freebsd-questions@FreeBSD.ORG Tue Dec 8 20:04:04 2009 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 15369106568B for ; Tue, 8 Dec 2009 20:04:04 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mx01.qsc.de (mx01.qsc.de [213.148.129.14]) by mx1.freebsd.org (Postfix) with ESMTP id C59DA8FC14 for ; Tue, 8 Dec 2009 20:04:03 +0000 (UTC) Received: from r55.edvax.de (port-92-195-228-22.dynamic.qsc.de [92.195.228.22]) by mx01.qsc.de (Postfix) with ESMTP id 794613CD03; Tue, 8 Dec 2009 21:04:02 +0100 (CET) Received: from r55.edvax.de (localhost [127.0.0.1]) by r55.edvax.de (8.14.2/8.14.2) with SMTP id nB8K42JX001919; Tue, 8 Dec 2009 21:04:02 +0100 (CET) (envelope-from freebsd@edvax.de) Date: Tue, 8 Dec 2009 21:04:02 +0100 From: Polytropon To: Peter Steele Message-Id: <20091208210402.ad3ba281.freebsd@edvax.de> In-Reply-To: <7B9397B189EB6E46A5EE7B4C8A4BB7CB33D0D4C3@MBX03.exg5.exghost.com> References: <7B9397B189EB6E46A5EE7B4C8A4BB7CB33D0D44A@MBX03.exg5.exghost.com> <20091208195424.850e8363.freebsd@edvax.de> <7B9397B189EB6E46A5EE7B4C8A4BB7CB33D0D498@MBX03.exg5.exghost.com> <20091208202749.d3f3b697.freebsd@edvax.de> <7B9397B189EB6E46A5EE7B4C8A4BB7CB33D0D4C3@MBX03.exg5.exghost.com> Organization: EDVAX X-Mailer: Sylpheed 2.4.7 (GTK+ 2.12.1; i386-portbld-freebsd7.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: "freebsd-questions@freebsd.org" Subject: Re: How do I create large partitions in FreeBSD? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Polytropon List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 08 Dec 2009 20:04:04 -0000 On Tue, 8 Dec 2009 13:43:41 -0600, Peter Steele wrote: > Yes, I know what a BSD slice is compared to a BSD partition. > Considering that fdisk uses "partition" interchangeably in > cases with "slice", I often do as well. I guess it can be > confusing if one isn't careful with context. You're right - fdisk uses different terminology. > We already have a configuration in place on our smaller 1U > boxes which are divided into three slices, one for the OS > (with 2 partitions), one for swap, and the third slice for > data. The third slice is divided into two partitions, one > UFS and one raw. The first two slices are gmirrored, the > third slice is not. Okay, now I understand. It's much more complex than it seemed from your initial statement. :-) What you want in the end is e. g. /dev/da1s1a = / /dev/da1s1d = /usr (or maybe /usr/local) /dev/da1s2b = swap /dev/da1s3d = /bigstorage (or something similar) /dev/da1s3e = raw > For consistency we want to use the same slice configuration > for these large drives. We don't *have* to do it this way > but it simplifies things for our legacy code. We're not > using any gmirroring on these raid boxes of course, and we > only need one partition on the third slice (no raw partition) > but otherwise the layout will largely be the same. Then it looks to me that using gpt / gpart is the way to go... -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ...