From owner-freebsd-geom@FreeBSD.ORG Mon Jun 6 10:35:33 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 0954616A41C for ; Mon, 6 Jun 2005 10:35:33 +0000 (GMT) (envelope-from conrad.burger@swistgroup.com) Received: from thezone.swistgroup.com (thezone.swistgroup.com [196.44.35.12]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3E33743D55 for ; Mon, 6 Jun 2005 10:35:32 +0000 (GMT) (envelope-from conrad.burger@swistgroup.com) Received: from mailnull by thezone.swistgroup.com with local (Exim 4.44 (FreeBSD)) id 1DfEx8-000Ihh-Sd for freebsd-geom@freebsd.org; Mon, 06 Jun 2005 12:35:30 +0200 Received: from hermes.swistgroup.com ([172.16.6.65]) by thezone.swistgroup.com with esmtp (Exim 4.44 (FreeBSD)) id 1DfEx8-000IhV-J3 for freebsd-geom@freebsd.org; Mon, 06 Jun 2005 12:35:30 +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 12:39:30 +0200 Message-ID: <88B5DDE8C1A06741B754B910DE2DEFBB49A915@HERMES.swistgroup.com> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: Gmirror - need information and help Thread-Index: AcVqhAUsFUxUyaUDSfGoPKkQI/oRNw== From: "Conrad Burger" To: X-Scan-Signature: 0eb53daae4fa6fa454ed872f9613d85b X-disclaimer: Legalsentry Subject: 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 10:35:33 -0000 Hi all=20 Hope someone can help me with the following problem(s). The scenario: 2 system and 5 disks. Freebsd 5.3-p5=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. 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. 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? What do I need to do to be able to add a member to System2's gmirror? 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. Please help, I have been struggling with this problem for the last week. = The systems need to go into production! Will provide more info per request... Regards Conrad=20 Output of system2 (trying to add another member to gmirror(gm0)) ---------------------------------------------------------------------- [63] root@boron:/var/log# glabel list Geom name: da0 Providers: 1. Name: label/disk2 Mediasize: 18373348864 (17G) Sectorsize: 512 Mode: r5w5e3 secoffset: 0 offset: 0 seclength: 35885447 length: 18373348864 index: 0 Consumers: 1. Name: da0 Mediasize: 18373349376 (17G) Sectorsize: 512 Mode: r5w5e4 [65] root@boron:/var/log# glabel label -v disk0 da1 Metadata value stored on da1. Done. [66] root@boron:/var/log# glabel list Geom name: da1 Providers: 1. Name: label/disk0 Mediasize: 18373348864 (17G) Sectorsize: 512 Mode: r0w0e0 secoffset: 0 offset: 0 seclength: 35885447 length: 18373348864 index: 0 Consumers: 1. Name: da1 Mediasize: 18373349376 (17G) Sectorsize: 512 Mode: r0w0e0 [70] root@boron:/var/log# gmirror insert gm0 label/disk0 Not all disks connected. ---------------------------------------------------------------------- Output of system1 (gmirror list) ---------------------------------------------------------------------- Geom name: gm0 State: DEGRADED Components: 3 Balance: load Slice: 4096 Flags: NONE SyncID: 3 ID: 2033501248 Providers: 1. Name: mirror/gm0 Mediasize: 18373348352 (17G) Sectorsize: 512 Mode: r5w5e2 Consumers: 1. Name: label/disk0 Mediasize: 18373348864 (17G) Sectorsize: 512 Mode: r5w5e3 State: ACTIVE Priority: 0 Flags: DIRTY SyncID: 3 ID: 407245497 2. Name: label/disk1 Mediasize: 18373348864 (17G) Sectorsize: 512 Mode: r5w5e3 State: ACTIVE Priority: 0 Flags: DIRTY SyncID: 3 ID: 1435311995 Geom name: gm0.sync ---------------------------------------------------------------------- Output of system2 (gmirror list) ---------------------------------------------------------------------- Geom name: gm0 State: DEGRADED Components: 3 Balance: load Slice: 4096 Flags: NONE SyncID: 5 ID: 2033501248 Providers: 1. Name: mirror/gm0 Mediasize: 18373348352 (17G) Sectorsize: 512 Mode: r5w5e2 Consumers: 1. Name: label/disk2 Mediasize: 18373348864 (17G) Sectorsize: 512 Mode: r5w5e3 State: ACTIVE Priority: 0 Flags: DIRTY SyncID: 5 ID: 1488378826 Geom name: gm0.sync ----------------------------------------------------------------------