From owner-freebsd-stable@FreeBSD.ORG Wed Apr 27 20:59:17 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 691191065673 for ; Wed, 27 Apr 2011 20:59:17 +0000 (UTC) (envelope-from mike@jellydonut.org) Received: from mail-ey0-f182.google.com (mail-ey0-f182.google.com [209.85.215.182]) by mx1.freebsd.org (Postfix) with ESMTP id 092458FC1C for ; Wed, 27 Apr 2011 20:59:16 +0000 (UTC) Received: by mail-ey0-f182.google.com with SMTP id 7so846013eyg.13 for ; Wed, 27 Apr 2011 13:59:16 -0700 (PDT) MIME-Version: 1.0 Received: by 10.213.113.129 with SMTP id a1mr1236224ebq.44.1303937956546; Wed, 27 Apr 2011 13:59:16 -0700 (PDT) Received: by 10.213.10.131 with HTTP; Wed, 27 Apr 2011 13:59:16 -0700 (PDT) In-Reply-To: References: Date: Wed, 27 Apr 2011 16:59:16 -0400 Message-ID: From: Michael Proto To: freebsd-stable@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 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:59:17 -0000 On Wed, Apr 27, 2011 at 4:43 PM, Helmut Schneider wrote: > 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 > Ah, thanks for that link, 19.4.2 does seem to describe what I'm trying to do (couldn't find it via google search). I'll give this a thorough reading and try it out. Thanks again! -Proto