Date: Fri, 11 Feb 2005 14:39:17 +0100 From: "Ralf S. Engelschall" <rse+freebsd-stable@FreeBSD.org> To: George Hartzell <hartzell@kestrel.alerce.com> Cc: freebsd-geom@FreeBSD.org Subject: Re: Hardcoding gmirror provider [was Re: Problem with migrating...] Message-ID: <20050211133917.GA45990@engelschall.com> In-Reply-To: <16902.28195.6589.299894@satchel.alerce.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>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050211133917.GA45990>