From owner-freebsd-questions@FreeBSD.ORG Tue Dec 8 19:27:52 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 82A5A1065670 for ; Tue, 8 Dec 2009 19:27:52 +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 40D978FC18 for ; Tue, 8 Dec 2009 19:27:52 +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 7CA7E3CB69; Tue, 8 Dec 2009 20:27:50 +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 nB8JRobQ001805; Tue, 8 Dec 2009 20:27:50 +0100 (CET) (envelope-from freebsd@edvax.de) Date: Tue, 8 Dec 2009 20:27:49 +0100 From: Polytropon To: Peter Steele Message-Id: <20091208202749.d3f3b697.freebsd@edvax.de> In-Reply-To: <7B9397B189EB6E46A5EE7B4C8A4BB7CB33D0D498@MBX03.exg5.exghost.com> References: <7B9397B189EB6E46A5EE7B4C8A4BB7CB33D0D44A@MBX03.exg5.exghost.com> <20091208195424.850e8363.freebsd@edvax.de> <7B9397B189EB6E46A5EE7B4C8A4BB7CB33D0D498@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 19:27:52 -0000 On Tue, 8 Dec 2009 13:14:05 -0600, Peter Steele wrote: > > In the subject line, you wrote "large partition", so I > > assume you won't want to boot from from the device, but > > use it as a big storage area instead. Correct me if I'm wrong. > > For simplicity I didn't include all the details. In fact > we need three slices, one for the OS, one for swap, and > the rest for data. Excuse me, you're mixing up terminology here. Let me explain: A SLICE is what "Windows" calls a "DOS primary partition", often just named a "partition". A PARTITION is a subdivision of a slice. It holds a file system. It is comparable (but not the same as) what "Windows" calls a "logical volume inside a DOS extended partition". To re-express your requirements: You need one slice covering the whole disk. This slice should contain three partitions: One for the OS, one for swap, and one for data. What you will need to do is basically what Maxim suggested, which is a) use the "dedicated" approach, which means that you don't create a slice, just three partitions on the disk, or, b) go with gpt / gpart, which is okay if FreeBSD will be the only OS that accesses the disk(s) in question, as I may assume by your statements. > I can create the first two slices the way I normally do > using fdisk/bsdlabel/newfs. But I'm stumped on how to > create the large third slice. I'm not sure if I understood you correctly. You won't need to create three slices, just one slice, containin three partitions. -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ...