From owner-freebsd-geom@FreeBSD.ORG Mon Jun 6 14:30:56 2005 Return-Path: X-Original-To: freebsd-geom@freebsd.org Delivered-To: freebsd-geom@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 561C016A41F for ; Mon, 6 Jun 2005 14:30:56 +0000 (GMT) (envelope-from conrad.burger@swistgroup.com) Received: from timon.swistgroup.com (timon.swistgroup.com [196.44.35.13]) by mx1.FreeBSD.org (Postfix) with ESMTP id B791D43D1F for ; Mon, 6 Jun 2005 14:30:55 +0000 (GMT) (envelope-from conrad.burger@swistgroup.com) Received: from mailnull by timon.swistgroup.com with local (Exim 4.44 (FreeBSD)) id 1DfIcr-000LBM-Pe for freebsd-geom@freebsd.org; Mon, 06 Jun 2005 16:30:50 +0200 Received: from hermes.swistgroup.com ([172.16.6.65]) by timon.swistgroup.com with esmtp (Exim 4.44 (FreeBSD)) id 1DfIcq-000LBA-UV for freebsd-geom@freebsd.org; Mon, 06 Jun 2005 16:30:49 +0200 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable X-MimeOLE: Produced By Microsoft Exchange V6.5.7226.0 Date: Mon, 6 Jun 2005 16:34:49 +0200 Message-ID: <88B5DDE8C1A06741B754B910DE2DEFBB49A91C@HERMES.swistgroup.com> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: Gmirror - need information and help Thread-Index: AcVqozZWGinBKxQuSg+C5CLpiSaDGQAABK7Q From: "Conrad Burger" To: X-Scan-Signature: 9af7e82e944eda9e7884510ba6fa7cbc X-disclaimer: Legalsentry Subject: RE: Gmirror - need information and help X-BeenThere: freebsd-geom@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: GEOM-specific discussions and implementations List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 06 Jun 2005 14:30:56 -0000 ************************************************************ Click here to view our e-mail legal notice: http://www.swistgroup.com/email.htm or call: +27 21 888 7920 ************************************************************ Thanks for the reply.=20 Just figured out "gmirror forget gm0" removes all the old "config stuff" = and puts the mirror in "COMPLETE" mode. System1's mirror is happy and system2's mirror is busy syncing. Now if someone could just help me get pgcluster 1.3 running I would be = as happy as a pig in mud, but that's for a different mailing list. And Ken thanks for the time and effort...=20 Cheers=20 Conrad=20 -----Original Message----- From: owner-freebsd-geom@freebsd.org = [mailto:owner-freebsd-geom@freebsd.org] On Behalf Of Ken Gunderson Sent: 06 June 2005 04:22 PM To: freebsd-geom@freebsd.org Subject: Re: Gmirror - need information and help On Mon, 6 Jun 2005 12:39:30 +0200 "Conrad Burger" wrote: > Hi all=20 >=20 > Hope someone can help me with the following problem(s). >=20 > The scenario: 2 system and 5 disks. Freebsd 5.3-p5=20 >=20 > I created a 3 member gmirror mirror on system1.=20 > Removed one member(disk) from system1. (Shut the system and removed = disk) > Then inserted the disk in system2 and booted the system. >=20 > Now the problem is: on system1 I have a "2 member gmirror" and on = system2 I have > a "1 member gmirror. And I can't add more members to the gmirror on = system2. >=20 > System1's gmirror is in a degraded state. How do I "tell" gmirror to = remove the > "removed disk" from its configuration and change its state to = COMPLETE? >=20 > What do I need to do to be able to add a member to System2's gmirror? >=20 > Below are the output of how I tried to add another member to system2's = gmirror > and the output of "gmirror list" on both systems. >=20 > Please help, I have been struggling with this problem for the last = week. The > systems need to go into production! "man gmirror" should give you most of what you need.... Basically you need to tell system1 to "forget" about the provider you removed and you need to clear the metadata on that disk. The metadata is written at the end of the disk. diskinfo -v should tell you how many sectors you need to skip, e.g.: dd if=3D/dev/zero of=3D/dev/whatever bs=3D512 count=3D100 skip=3D99 less = than the number of sectors diskinfo -v returns. Or maybe just put the disk backinto system1 and do a "gmirror clear" this time before you remove it...;-) --=20 Best regards, Ken Gunderson Q: Because it reverses the logical flow of conversation. A: Why is putting a reply at the top of the message frowned upon? _______________________________________________ freebsd-geom@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-geom To unsubscribe, send any mail to "freebsd-geom-unsubscribe@freebsd.org"