From owner-freebsd-questions@FreeBSD.ORG Fri Nov 27 20:35:21 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 EB8931065676 for ; Fri, 27 Nov 2009 20:35:21 +0000 (UTC) (envelope-from zenzee@xs4all.nl) Received: from smtp-vbr10.xs4all.nl (smtp-vbr10.xs4all.nl [194.109.24.30]) by mx1.freebsd.org (Postfix) with ESMTP id 6DD608FC1F for ; Fri, 27 Nov 2009 20:35:21 +0000 (UTC) Received: from [192.168.178.21] (a80-101-53-60.adsl.xs4all.nl [80.101.53.60]) (authenticated bits=0) by smtp-vbr10.xs4all.nl (8.13.8/8.13.8) with ESMTP id nARKZESZ098865 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NO); Fri, 27 Nov 2009 21:35:18 +0100 (CET) (envelope-from zenzee@xs4all.nl) Mime-Version: 1.0 (Apple Message framework v1077) Content-Type: text/plain; charset=us-ascii From: Vincent Zee In-Reply-To: <20091127193015.GC1855@teddy.fas.com> Date: Fri, 27 Nov 2009 21:35:12 +0100 Content-Transfer-Encoding: quoted-printable Message-Id: References: <20091127163702.GA9156@xs4all.nl> <20091127193015.GC1855@teddy.fas.com> To: stan X-Mailer: Apple Mail (2.1077) X-Virus-Scanned: by XS4ALL Virus Scanner Cc: freebsd-questions Subject: Re: 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 20:35:22 -0000 Hi Stan, thanks for your answer. On 27 November 2009, at 20:30, stan wrote: > On Fri, Nov 27, 2009 at 05:37:02PM +0100, Vincent Zee wrote: >> Hi, >>=20 >> I'm trying to replace a faulty disk in a gmirror mirror but >> it fails. >>=20 >> This machine contains two mirrors: mirror0 and mirror1 each >> containing two disks of 500 GB. mirror1 is giving me trouble. >>=20 >> The disk on channel 3 (ad6), which was identical to the disk on=20 >> channel 2 (ad4), was faulty and I replaced it with a larger disk >> this morning. The new disk is a Western Digital 640 GB. >>=20 >> The steps I took sofar: >>=20 >> #gmirror forget mirror1 >>=20 >> #gmirror insert mirror1 ad6 >>=20 >> 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. >>=20 >> Any ideas? >>=20 > I have several Sun X2100's, and the have a problem with the riser > connector for the drives. I have seen behaviios like this, when I had = a > hardware problem. Might that be your issue? The sata drives are on a cheap controller: atapci1: port 0xdc00-0xdc07, 0xe000-0xe003,0xe400-0xe407,0xe800-0xe803,0xec00-0xec0f mem 0xdf002000-0xdf0021ff irq 10 at device 20.0 on pci0 I looked at dmesg and found this error message: GEOM_MIRROR: Device mirror1: rebuilding provider ad6. interrupt storm detected on "irq10:"; throttling interrupt source interrupt storm detected on "irq10:"; throttling interrupt source interrupt storm detected on "irq10:"; throttling interrupt source interrupt storm detected on "irq10:"; throttling interrupt source interrupt storm detected on "irq10:"; throttling interrupt source ad6: TIMEOUT - WRITE_DMA retrying (1 retry left) LBA=3D35200 ad6: FAILURE - WRITE_DMA status=3D51 error=3D4 LBA=3D358528 GEOM_MIRROR: Synchronization request failed (error=3D5). = ad6[WRITE(offset=3D183500800, length=3D131072)] GEOM_MIRROR: Device mirror1: provider ad6 disconnected. GEOM_MIRROR: Device mirror1: rebuilding provider ad6 stopped. /\ Vincent=