From owner-freebsd-stable@FreeBSD.ORG Thu Apr 28 16:14:06 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 68B12106566B for ; Thu, 28 Apr 2011 16:14:06 +0000 (UTC) (envelope-from mike@jellydonut.org) Received: from mail-ew0-f54.google.com (mail-ew0-f54.google.com [209.85.215.54]) by mx1.freebsd.org (Postfix) with ESMTP id 09D1D8FC12 for ; Thu, 28 Apr 2011 16:14:05 +0000 (UTC) Received: by ewy1 with SMTP id 1so1127174ewy.13 for ; Thu, 28 Apr 2011 09:14:04 -0700 (PDT) MIME-Version: 1.0 Received: by 10.213.113.129 with SMTP id a1mr1671331ebq.44.1304007244391; Thu, 28 Apr 2011 09:14:04 -0700 (PDT) Received: by 10.213.10.131 with HTTP; Thu, 28 Apr 2011 09:14:04 -0700 (PDT) In-Reply-To: References: Date: Thu, 28 Apr 2011 12:14:04 -0400 Message-ID: From: Michael Proto To: freebsd-stable@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable 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: Thu, 28 Apr 2011 16:14:06 -0000 On Thu, Apr 28, 2011 at 11:43 AM, Pete French w= rote: >> Correct. =A0The layering is not, in itself, the issue. =A0The issue is >> that the loader or kernel or whatever reads the first sector of the >> disk, finds a GPT so it then looks for the backup GPT in the last >> physical sector of the disk and doesn't find it. =A0At this point, >> gmirror is not loaded (or not noticed, since there's nothing in the >> first sector of the disk to show it's a mirror). =A0Once gmirror is >> loaded, then the GPT stops complaining as the first and last sectors >> of the gmirrror provider have the GPT tables. > > Is not the problem here that you are trying to GPT label a gmirrored disc= ? > If you instead gmirror two GPT partitions then the problem goes away > doesnt it ? Thats how I set things up - use parititoning on the ohysical > drives, and then put the mirroring into the partitions thus created. > Works fine, and doesnt suffer from any of the afforementioned problems. > > -pete. > _______________________________________________ > freebsd-stable@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-stable > To unsubscribe, send any mail to "freebsd-stable-unsubscribe@freebsd.org" > Actually I was first creating 2 GPT partitions on each disk and then creating a mirror on each of those partitions (2 partitions per disk, 2 mirrors). When doing that I ran into the secondary GPT block displaying as "not found" during boot. As I mentioned, I didn't know if that was a problem per-se, which is why I posted to the list to see if there was a better way of mirroring partitions. From what I'm gathering, I think I did things correctly actually. -Proto