From owner-freebsd-questions@FreeBSD.ORG Mon May 18 19:22:50 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 0C6921065670; Mon, 18 May 2009 19:22:50 +0000 (UTC) (envelope-from 000.fbsd@quip.cz) Received: from elsa.codelab.cz (elsa.codelab.cz [94.124.105.4]) by mx1.freebsd.org (Postfix) with ESMTP id BD0858FC1F; Mon, 18 May 2009 19:22:49 +0000 (UTC) (envelope-from 000.fbsd@quip.cz) Received: from localhost (localhost.codelab.cz [127.0.0.1]) by elsa.codelab.cz (Postfix) with ESMTP id BFAA219E048; Mon, 18 May 2009 21:07:29 +0200 (CEST) Received: from [192.168.1.2] (r5bb235.net.upc.cz [86.49.61.235]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by elsa.codelab.cz (Postfix) with ESMTPSA id 733DC19E045; Mon, 18 May 2009 21:07:24 +0200 (CEST) Message-ID: <4A11B1EC.3090601@quip.cz> Date: Mon, 18 May 2009 21:07:24 +0200 From: Miroslav Lachman <000.fbsd@quip.cz> User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.7.12) Gecko/20050915 X-Accept-Language: cz, cs, en, en-us MIME-Version: 1.0 To: Achilleas Mantzios References: <200905181020.20621.achill@matrix.gatewaynet.com> In-Reply-To: <200905181020.20621.achill@matrix.gatewaynet.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org, freebsd-geom@freebsd.org Subject: Re: Weird problem with gmirror - cannot add the Good disk when previously failed SATA disk is online 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: Mon, 18 May 2009 19:22:50 -0000 Achilleas Mantzios wrote: > Hello, > I run 7.1-PRERELEASE, its a home server. > today morning after a power failure, the rebuild my root gm0 failed on disk ad4. > The messages were: > > May 18 08:02:02 panix kernel: ad4: WARNING - WRITE_DMA UDMA ICRC error (retrying request) LBA=268091264 > May 18 08:02:08 panix kernel: drm0: on vgapci0 > May 18 08:02:08 panix kernel: info: [drm] AGP at 0xf0000000 128MB > May 18 08:02:08 panix kernel: info: [drm] Initialized i915 1.5.0 20060119 > May 18 08:02:08 panix kernel: drm0: [ITHREAD] > May 18 08:02:08 panix kernel: ad4: FAILURE - device detached > May 18 08:02:08 panix kernel: subdisk4: detached > May 18 08:02:08 panix kernel: ad4: detached > May 18 08:02:08 panix kernel: GEOM_MIRROR: Device gm0: provider ad4 disconnected. > May 18 08:02:08 panix kernel: GEOM_MIRROR: Device gm0: rebuilding provider ad4 stopped. > > I read http://www.eztiger.org/2008/08/removing-and-re-adding-a-disk-in-gmirror/ > hoping that the rebuld failure was temprary > and so i tried to just run > # gmirror forget gm0 > # gmirror insert gm0 ad4 The correct order of commands is: atacontrol list gmirror list gmirror forget gm0 gmirror clear -v ad4 gmirror insert -v gm0 ad4 Miroslav Lachman