From owner-freebsd-geom@FreeBSD.ORG Fri May 19 17:21:50 2006 Return-Path: X-Original-To: freebsd-geom@freebsd.org Delivered-To: freebsd-geom@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D0F8C16A420; Fri, 19 May 2006 17:21:50 +0000 (UTC) (envelope-from snow@teardrop.org) Received: from silver.teardrop.org (silver.teardrop.org [66.92.75.234]) by mx1.FreeBSD.org (Postfix) with ESMTP id 87CE043D46; Fri, 19 May 2006 17:21:50 +0000 (GMT) (envelope-from snow@teardrop.org) Received: by silver.teardrop.org (Postfix, from userid 100) id 6ABEAC161; Fri, 19 May 2006 13:21:49 -0400 (EDT) Date: Fri, 19 May 2006 13:21:49 -0400 From: James Snow To: Pawel Jakub Dawidek Message-ID: <20060519172148.GA54819@teardrop.org> References: <200605161555.08195.darcy@wavefire.com> <20060517171955.GB838@garage.freebsd.pl> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20060517171955.GB838@garage.freebsd.pl> User-Agent: Mutt/1.4.2.1i Cc: freebsd-geom@freebsd.org Subject: Re: Slices + stripes and mirrors X-BeenThere: freebsd-geom@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: GEOM-specific discussions and implementations List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 19 May 2006 17:21:50 -0000 On Wed, May 17, 2006 at 07:19:55PM +0200, Pawel Jakub Dawidek wrote: > On Tue, May 16, 2006 at 03:55:07PM -0700, Darcy Buskermolen wrote: > +> > +> I have a 6.1 setup with 4 identical 300GB disks, ad4,6,8,10. I'd like to > +> create a bootable mirror (gm0s1) of all 4 disks on a 512MB slice, and have > +> the remaining space a big slice (gs0s2). I'm going something almost identical and have been having some difficulty. > Ok, first initialize your disks and create two slices on them: > > # apply "fdisk -Bi /dev/ad%1" 4 6 8 10 > > (If they are identical, you can probably initizlize one of them and copy > first 63 sectors to the others.) > > Once you have your slices, create a mirror: I've been using Ralf's guide[1] for the basics of this, and he mentions that you need to shrink the slice by one sector. Is this still the case in 6.1? If so, when doing two slices per disk, do you need to shrink both slices by one sector, or only the last slice on the disk? -Snow [1] http://people.freebsd.org/~rse/mirror/