From owner-freebsd-stable@FreeBSD.ORG Fri Feb 11 13:40:00 2005 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B305316A4CE; Fri, 11 Feb 2005 13:40:00 +0000 (GMT) Received: from visp.engelschall.com (visp.engelschall.com [195.27.176.148]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3CF3E43D58; Fri, 11 Feb 2005 13:40:00 +0000 (GMT) (envelope-from rse@engelschall.com) Received: by visp.engelschall.com (Postfix, from userid 1005) id 35B0B4CE533; Fri, 11 Feb 2005 14:40:19 +0100 (CET) Received: by en1.engelschall.com (Postfix, from userid 10000) id BE18CA17D5; Fri, 11 Feb 2005 14:39:17 +0100 (CET) Date: Fri, 11 Feb 2005 14:39:17 +0100 From: "Ralf S. Engelschall" To: George Hartzell Message-ID: <20050211133917.GA45990@engelschall.com> References: <16901.26814.588055.457273@satchel.alerce.com> <16902.27236.71619.138367@satchel.alerce.com> <20050206191209.GC1080@darkness.comp.waw.pl> <16902.28195.6589.299894@satchel.alerce.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <16902.28195.6589.299894@satchel.alerce.com> User-Agent: Mutt/1.4.2.1i Organization: FreeBSD cc: freebsd-stable@FreeBSD.org cc: Pawel Jakub Dawidek cc: freebsd-geom@FreeBSD.org Subject: Re: Hardcoding gmirror provider [was Re: Problem with migrating...] X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: "Ralf S. Engelschall" List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 11 Feb 2005 13:40:00 -0000 On Sun, Feb 06, 2005, George Hartzell wrote: > Pawel Jakub Dawidek writes: > > [...] > > It happens because ad0 and ad0s1 share the same last sector. > > To fix this you should use '-h' option as you did or you should recreate > > ad0s1 slice one sector smaller. > > Thanks for the help! > > That makes sense, which is always a nice feeling. > > Does that mean that the instructions at: > > http://people.freebsd.org/~rse/mirror/ > > in the section labeled: > > GEOM mirror Approach 2: Single Slice, Preferred, More Flexible > > are incorrect and will result in the same kind of slice-table breakage > that I was seeing or is there something going on that I'm not getting? > > Would it be more correct for Ralf to update the instructions to > include a -h arg on his "gmirror label" step? I've added a comment to the slice creation command that one just substract one block or alternatively use the -h option on the "gmirror label" command for hard-coding the provider. Thanks for catching this subtle problem. -- rse@FreeBSD.org Ralf S. Engelschall FreeBSD.org/~rse rse@engelschall.com FreeBSD committer www.engelschall.com