From owner-freebsd-stable@FreeBSD.ORG Wed Apr 27 20:43:29 2011 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 005C9106566B for ; Wed, 27 Apr 2011 20:43:29 +0000 (UTC) (envelope-from freebsd-stable@m.gmane.org) Received: from lo.gmane.org (lo.gmane.org [80.91.229.12]) by mx1.freebsd.org (Postfix) with ESMTP id AADEE8FC16 for ; Wed, 27 Apr 2011 20:43:28 +0000 (UTC) Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1QFBa2-0003hQ-KG for freebsd-stable@freebsd.org; Wed, 27 Apr 2011 22:43:26 +0200 Received: from p5dcd6b31.dip.t-dialin.net ([93.205.107.49]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 27 Apr 2011 22:43:26 +0200 Received: from jumper99 by p5dcd6b31.dip.t-dialin.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 27 Apr 2011 22:43:26 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-stable@freebsd.org From: "Helmut Schneider" Date: Wed, 27 Apr 2011 20:43:14 +0000 (UTC) Lines: 25 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: p5dcd6b31.dip.t-dialin.net User-Agent: XanaNews/1.19.1.320 X-Ref: news.gmane.org ~XNS:00000166 X-Antivirus: avast! (VPS 110427-2, 27.04.2011), Outbound message X-Antivirus-Status: Clean Subject: Re: correct way to setup gmirror on 7.4? X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 27 Apr 2011 20:43:29 -0000 Michael Proto wrote: > On Wed, Apr 27, 2011 at 3:35 PM, Helmut Schneider > wrote: > > Michael Proto wrote: > >> Am I using the correct process to create this array? > > > > No. While this works with MBR it fails with GPT as GPT and GEOM both > > want to use the last sector of the disk. > > > > First create the mirror and after that gpart it. > > In my setup I am mirroring only partitions, creating partitions ad4p1, > ad6p1, ad4p2 and ad6p2 with gpart first, and then mirrors gm0p1 and > gm0p2 on top of those. [...] > Or perhaps I'm misunderstanding what you're saying. 1. Create the mirror 2. Create the partition(s) Or do the steps described in section 19.4.2 at http://eis.bris.ac.uk/~mexas/geom-mirror.html HTH, Helmut