From owner-freebsd-questions@FreeBSD.ORG Fri Nov 27 16:37:09 2009 Return-Path: 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 8DD991065698 for ; Fri, 27 Nov 2009 16:37:09 +0000 (UTC) (envelope-from zenzee@xs4all.nl) Received: from smtp-vbr9.xs4all.nl (smtp-vbr9.xs4all.nl [194.109.24.29]) by mx1.freebsd.org (Postfix) with ESMTP id 0B6608FC1E for ; Fri, 27 Nov 2009 16:37:08 +0000 (UTC) Received: from xs2.xs4all.nl (xs2.xs4all.nl [194.109.21.3]) by smtp-vbr9.xs4all.nl (8.13.8/8.13.8) with ESMTP id nARGb7ps046559 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Fri, 27 Nov 2009 17:37:07 +0100 (CET) (envelope-from zenzee@xs4all.nl) Received: from xs2.xs4all.nl (zenzee@localhost [127.0.0.1]) by xs2.xs4all.nl (8.13.6/8.13.6) with ESMTP id nARGb752010399 for ; Fri, 27 Nov 2009 17:37:07 +0100 (CET) (envelope-from zenzee@xs4all.nl) Received: (from zenzee@localhost) by xs2.xs4all.nl (8.13.6/8.13.6/Submit) id nARGb2J1010395 for freebsd-questions@freebsd.org; Fri, 27 Nov 2009 17:37:02 +0100 (CET) (envelope-from zenzee) Date: Fri, 27 Nov 2009 17:37:02 +0100 From: Vincent Zee To: freebsd-questions Message-ID: <20091127163702.GA9156@xs4all.nl> Mail-Followup-To: freebsd-questions Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4.2.1i X-Virus-Scanned: by XS4ALL Virus Scanner Subject: replacing faulty disk in a gmirror X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 27 Nov 2009 16:37:09 -0000 Hi, I'm trying to replace a faulty disk in a gmirror mirror but it fails. This machine contains two mirrors: mirror0 and mirror1 each containing two disks of 500 GB. mirror1 is giving me trouble. The disk on channel 3 (ad6), which was identical to the disk on channel 2 (ad4), was faulty and I replaced it with a larger disk this morning. The new disk is a Western Digital 640 GB. The steps I took sofar: #gmirror forget mirror1 #gmirror insert mirror1 ad6 A "gmirror status" shows the new disk being added to mirror1. It then starts to write to the new disk but stops after a few seconds and when I do "gmirror status" again the new disk is gone again. Any ideas? Here is some info about the system: piggie# uname -a FreeBSD piggie.int.daemon.net 7.0-RELEASE FreeBSD 7.0-RELEASE #0: Sun Feb 24 19:59:52 UTC 2008 piggie# atacontrol list ATA channel 0: Master: ad0 ATA/ATAPI revision 7 Slave: no device present ATA channel 1: Master: ad2 ATA/ATAPI revision 7 Slave: no device present ATA channel 2: Master: ad4 Serial ATA v1.0 Slave: no device present ATA channel 3: Master: ad6 Serial ATA II Slave: no device present piggie# gmirror status Name Status Components mirror/mirror0 COMPLETE ad0 ad2 mirror/mirror1 DEGRADED ad4 piggie# gmirror list Geom name: mirror0 State: COMPLETE Components: 2 Balance: round-robin Slice: 4096 Flags: NONE GenID: 0 SyncID: 1 ID: 2181652091 Providers: 1. Name: mirror/mirror0 Mediasize: 500107861504 (466G) Sectorsize: 512 Mode: r5w5e6 Consumers: 1. Name: ad0 Mediasize: 500107862016 (466G) Sectorsize: 512 Mode: r1w1e1 State: ACTIVE Priority: 0 Flags: NONE GenID: 0 SyncID: 1 ID: 1890757270 2. Name: ad2 Mediasize: 500107862016 (466G) Sectorsize: 512 Mode: r1w1e1 State: ACTIVE Priority: 0 Flags: NONE GenID: 0 SyncID: 1 ID: 2188477788 Geom name: mirror1 State: DEGRADED Components: 2 Balance: round-robin Slice: 4096 Flags: NONE GenID: 8 SyncID: 4 ID: 3490083122 Providers: 1. Name: mirror/mirror1 Mediasize: 500107861504 (466G) Sectorsize: 512 Mode: r1w1e1 Consumers: 1. Name: ad4 Mediasize: 500107862016 (466G) Sectorsize: 512 Mode: r1w1e1 State: ACTIVE Priority: 0 Flags: NONE GenID: 8 SyncID: 4 ID: 2123128362 TIA, /\ Vincent