From owner-freebsd-questions@FreeBSD.ORG  Mon Sep 28 17:56:49 2009
Return-Path: <owner-freebsd-questions@FreeBSD.ORG>
Delivered-To: freebsd-questions@freebsd.org
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id 747F0106566C
	for <freebsd-questions@freebsd.org>;
	Mon, 28 Sep 2009 17:56:49 +0000 (UTC)
	(envelope-from amvandemore@gmail.com)
Received: from mail-yw0-f187.google.com (mail-yw0-f187.google.com
	[209.85.211.187])
	by mx1.freebsd.org (Postfix) with ESMTP id 2D8208FC1A
	for <freebsd-questions@freebsd.org>;
	Mon, 28 Sep 2009 17:56:48 +0000 (UTC)
Received: by ywh17 with SMTP id 17so5331227ywh.3
	for <freebsd-questions@freebsd.org>;
	Mon, 28 Sep 2009 10:56:48 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma;
	h=domainkey-signature:mime-version:received:in-reply-to:references
	:date:message-id:subject:from:to:cc:content-type;
	bh=rTSf/SKCOAZGSdy49OXtqHDCyQbHLF2dMRY1bt176ZE=;
	b=UUa45WMKOZzSauP9wLRxgK0zhXRwoBKWjpeZwMCzqRCPXuUOzBVwTBMsdMtCHYnyuX
	uXy17EwYBt7+Bc7Oe0WAShbfKPGD3tpvNa3u9SjIx4Gc/a/oSkhTfXPGRHk0LCBZJJ/F
	LnHkFhs4x6Ds0s7UEeb2fuC4aYPb948VoUptA=
DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma;
	h=mime-version:in-reply-to:references:date:message-id:subject:from:to
	:cc:content-type;
	b=MStf7v0hefZUzqfBgsekOiv5MHhiYqBJDs+11iU2+6tHf3mla9q6n6yMFhwa4gYze4
	BWg0UJf+hhA5e3G5W8GD7ewdxdmLeGnsTQeDX/JqdGVXHNR0d/K6v9Zu5/xEIk5vtP8P
	qU9ooEpU7Ocz5nUMZOP05lU6NSj8LxMBYboKc=
MIME-Version: 1.0
Received: by 10.150.16.28 with SMTP id 28mr8281098ybp.133.1254160608442; Mon, 
	28 Sep 2009 10:56:48 -0700 (PDT)
In-Reply-To: <4AC0D9CF.6000309@chamonix.reportlab.co.uk>
References: <4AC07E69.30800@chamonix.reportlab.co.uk>
	<6201873e0909280710n2a5fc7beo99706e1b87080f73@mail.gmail.com>
	<4AC0D9CF.6000309@chamonix.reportlab.co.uk>
Date: Mon, 28 Sep 2009 12:56:48 -0500
Message-ID: <6201873e0909281056m1660351arc38c5faa975fef02@mail.gmail.com>
From: Adam Vande More <amvandemore@gmail.com>
To: Robin Becker <robin@reportlab.com>
Content-Type: text/plain; charset=ISO-8859-1
X-Content-Filtered-By: Mailman/MimeDel 2.1.5
Cc: freebsd-questions@freebsd.org
Subject: Re: fix remote degraded gmirror
X-BeenThere: freebsd-questions@freebsd.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: User questions <freebsd-questions.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-questions>, 
	<mailto:freebsd-questions-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-questions>
List-Post: <mailto:freebsd-questions@freebsd.org>
List-Help: <mailto:freebsd-questions-request@freebsd.org?subject=help>
List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-questions>, 
	<mailto:freebsd-questions-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Mon, 28 Sep 2009 17:56:49 -0000

On Mon, Sep 28, 2009 at 10:44 AM, Robin Becker <robin@reportlab.com> wrote:

> Thanks for the information re reboot; I think I knew it was a sata already.
> My one remaining question is what preparation does the hd need prior to
> gmirror insert. I see various people recommending clearing out various
> chunks of the disk (to make the disk unambiguously not in sync?), but that
> doesn't seem to be required. I guess the whole idea is to be able to just
> connect a new disk and start the system up and then insert back into the
> mirror.
> --
> Robin Becker
>


well, really only thing I can think of off hand is conflict gmirror labels
ie inserting into gm0 from another gm0.

a simple

dd if=/dev/zero of=/dev/adX bs=1M count=1

would fix that if nothing else

if there's was no existing label, there is nothing to do except gmirror man
instructions.  Gmirror is block level mirroring which why no other steps are
needed.

-- 
Adam Vande More