From owner-freebsd-fs@FreeBSD.ORG Fri May 23 17:46:51 2014 Return-Path: Delivered-To: freebsd-fs@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id C3B9A93E; Fri, 23 May 2014 17:46:51 +0000 (UTC) Received: from mailout07.t-online.de (mailout07.t-online.de [194.25.134.83]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mailout00.t-online.de", Issuer "TeleSec ServerPass DE-1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 5600F2584; Fri, 23 May 2014 17:46:51 +0000 (UTC) Received: from fwd12.aul.t-online.de (fwd12.aul.t-online.de [172.20.26.241]) by mailout07.t-online.de (Postfix) with SMTP id 07EEB4ABD01; Fri, 23 May 2014 19:46:49 +0200 (CEST) Received: from [192.168.119.26] (Sr1r+eZbghBKbSjcJYhr0K48PR3bQIpFQqPKROHeB4moS5vEiZIIqOzB+Un5dv9ZE2@[84.154.114.101]) by fwd12.t-online.de with esmtp id 1WntYD-30TdJI0; Fri, 23 May 2014 19:46:37 +0200 Message-ID: <537F8972.40104@freebsd.org> Date: Fri, 23 May 2014 19:46:26 +0200 From: Stefan Esser User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:24.0) Gecko/20100101 Thunderbird/24.5.0 MIME-Version: 1.0 To: jim@nasby.net Subject: Re: Fwd: GEOM_MIRROR: Synchronization request failed (error=5). References: <20A5D934-D95B-4650-9DD3-2879D7FC016B@nasby.net> In-Reply-To: X-Enigmail-Version: 1.6 Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 8bit X-ID: Sr1r+eZbghBKbSjcJYhr0K48PR3bQIpFQqPKROHeB4moS5vEiZIIqOzB+Un5dv9ZE2 X-TOI-MSGID: 5fea4cfc-db5c-4be5-8add-1d4a4bda60e4 Cc: freebsd-fs@freebsd.org X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 23 May 2014 17:46:51 -0000 Am 23.05.2014 19:16, schrieb Jim Nasby: > Didn’t get an answer on -questions… can anyone shed some light on this? > > Begin forwarded message: > >> From: Jim Nasby >> Subject: Re: GEOM_MIRROR: Synchronization request failed (error=5). >> Date: May 18, 2014 at 1:25:37 PM CDT >> To: freebsd-questions@freebsd.org >> >> On May 18, 2014, at 1:17 PM, Jim Nasby wrote: >>> Trying to add a disk to an existing gmirror (which, unfortunately is sitting on a GPT partitioned drive): >>> >>> GEOM_MIRROR: Synchronization request failed (error=5). ad4[WRITE(offset=141343457280, length=131072)] >>> >>> Does this mean the new drive (ad4) is bad? smartmon doesn’t show anything and a quick bonnie++ test was OK. >> >> More info: >> >> Here’s what was in /var/log/messages right before that error: >> >> May 18 17:36:13 noel kernel: GEOM_MIRROR: Device gm1: rebuilding provider ad4. >> May 18 17:58:39 noel kernel: ad4: WARNING - WRITE_DMA48 UDMA ICRC error (retrying request) LBA=276061440 >> May 18 17:58:39 noel kernel: ad4: FAILURE - WRITE_DMA48 status=51 error=10 LBA=276061440 >> May 18 17:58:39 noel kernel: GEOM_MIRROR: Synchronization request failed (error=5). ad4[WRITE(offset=141343457280, length=131072)] >> >> After this I did gmirror forget, gmirror clear and then re-inserted ad4 into the mirror. As soon as that was done I started seeing this: >> >> May 18 13:18:06 noel sudo: decibel : TTY=pts/3 ; PWD=/home/decibel ; USER=root ; COMMAND=/sbin/gmirror insert gm1 ad4 >> May 18 18:18:06 noel kernel: GEOM_MIRROR: Device gm1: rebuilding provider ad4. >> May 18 18:18:06 noel kernel: ad4: WARNING - WRITE_DMA UDMA ICRC error (retrying request) LBA=18176 >> May 18 18:18:07 noel kernel: ad4: WARNING - WRITE_DMA UDMA ICRC error (retrying request) LBA=233216 >> … >> May 18 18:20:32 noel kernel: ad4: WARNING - WRITE_DMA UDMA ICRC error (retrying request) LBA=29618944 >> May 18 18:20:35 noel kernel: ad4: WARNING - WRITE_DMA UDMA ICRC error (retrying request) LBA=30076928 >> May 18 18:20:54 noel kernel: ad4: WARNING - WRITE_DMA UDMA ICRC error (retrying request) LBA=33539072 >> >> Look at http://lists.freebsd.org/pipermail/freebsd-questions/2005-August/095214.html, I tried changing the mode: >> >> May 18 13:20:58 noel sudo: decibel : TTY=pts/3 ; PWD=/home/decibel ; USER=root ; COMMAND=/sbin/atacontrol mode ad4 >> May 18 18:21:05 noel kernel: ad4: WARNING - WRITE_DMA UDMA ICRC error (retrying request) LBA=35777024 >> May 18 18:21:13 noel kernel: ad4: WARNING - WRITE_DMA UDMA ICRC error (retrying request) LBA=37299200 >> May 18 13:21:14 noel sudo: decibel : TTY=pts/3 ; PWD=/home/decibel ; USER=root ; COMMAND=/sbin/atacontrol mode ad4 UDMA4 >> >> It didn’t help… >> >> May 18 18:21:28 noel kernel: ad4: WARNING - WRITE_DMA UDMA ICRC error (retrying request) LBA=40399360 >> May 18 18:22:04 noel kernel: ad4: WARNING - WRITE_DMA UDMA ICRC error (retrying request) LBA=47683328 >> … >> May 18 18:23:30 noel kernel: ad4: WARNING - WRITE_DMA UDMA ICRC error (retrying request) LBA=64849664 >> May 18 18:23:30 noel kernel: ad4: WARNING - WRITE_DMA UDMA ICRC error (retrying request) LBA=64880896 >> >> Errors are still happening. >> >> I can easily return the drive if that’s the problem here, but as I mentioned a bonnie++ test didn’t generate any errors. The ICRC error that is reported indicates a problem with the data cable between the drive and the controller. I'd try a different cable ... Regards, STefan