From owner-freebsd-questions@FreeBSD.ORG Fri Sep 29 12:34:36 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 EFBD616A415 for ; Fri, 29 Sep 2006 12:34:36 +0000 (UTC) (envelope-from lists@jnielsen.net) Received: from ns1.jnielsen.net (ns1.jnielsen.net [69.55.238.237]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5999443D80 for ; Fri, 29 Sep 2006 12:34:36 +0000 (GMT) (envelope-from lists@jnielsen.net) Received: from localhost (jn@ns1 [69.55.238.237]) (authenticated bits=0) by ns1.jnielsen.net (8.12.9p2/8.12.9) with ESMTP id k8TCYYcV018872; Fri, 29 Sep 2006 05:34:35 -0700 (PDT) (envelope-from lists@jnielsen.net) From: John Nielsen To: freebsd-questions@freebsd.org Date: Fri, 29 Sep 2006 08:34:21 -0400 User-Agent: KMail/1.9.4 References: <1b4e25200609281535n7f69241j9ec612a66d033089@mail.gmail.com> <20060928234358.GE3332@dfwdamian.vail> In-Reply-To: <20060928234358.GE3332@dfwdamian.vail> X-Face: #X5#Y*q>F:]zT!DegL3z5Xo'^MN[$8k\[4^3rN~wm=s=Uw(sW}R?3b^*f1Wu*.<=?utf-8?q?of=5F4NrS=0A=09P*M/9CpxDo!D6?=)IY1w<9B1jB; tBQf[RU-R<,I)e"$q7N7 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200609290834.22006.lists@jnielsen.net> X-Virus-Scanned: ClamAV version 0.88.3, clamav-milter version 0.88.3 on ns1.jnielsen.net X-Virus-Status: Clean Cc: m3 BSD , Damian Wiest Subject: Re: Raid strip with freebsd slices or partitions 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: Fri, 29 Sep 2006 12:34:37 -0000 On Thursday 28 September 2006 19:43, Damian Wiest wrote: > On Thu, Sep 28, 2006 at 10:35:10PM +0000, m3 BSD wrote: > > Hi, i would like to do a raid strip with freebsd slices or partitions > > and not with a entire disk. For example: I've a two SCSI drivers with > > 68Gb. I want to make a two partitions or slices in two disks, first > > with 10G and other with 58Gb, this in two disks, and make a raid strip > > "virtual disk" with 58+58GB = 116 GB, and user other two partitions > > normaly. > > I believe you want to use the GEOM(4) subsystem in general and the > gstripe(8) command in particular. I've only used gmirror(8) with > entire disks, but I believe you can simply specify a device name > corresponding to the slices you want to stripe. That's correct. Use bsdlabel to divide the disks how you want them, put your normal filesystems on (e.g.) ad0s1a and ad2s1a, and use ad0s1d and ad2s1d as the elements of your gstripe. (e.g. "gstripe label bigvol ad0s1d ad2s1d"). Or you can divide the disk using fdisk and just use slices as the elements of your gstripe (ad0s2 and ad2s2, for instance). It doesn't matter what the device actually represents; geom can use it. JN