Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 18 May 2014 13:25:37 -0500
From:      Jim Nasby <jim@nasby.net>
To:        freebsd-questions@freebsd.org
Subject:   Re: GEOM_MIRROR: Synchronization request failed (error=5).
Message-ID:  <20A5D934-D95B-4650-9DD3-2879D7FC016B@nasby.net>
In-Reply-To: <97100C5A-8E56-4441-9995-483B19AC52C5@nasby.net>
References:  <97100C5A-8E56-4441-9995-483B19AC52C5@nasby.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On May 18, 2014, at 1:17 PM, Jim Nasby <jim@nasby.net> wrote:
> Trying to add a disk to an existing gmirror (which, unfortunately is =
sitting on a GPT partitioned drive):
>=20
> GEOM_MIRROR: Synchronization request failed (error=3D5). =
ad4[WRITE(offset=3D141343457280, length=3D131072)]
>=20
> Does this mean the new drive (ad4) is bad? smartmon doesn=92t show =
anything and a quick bonnie++ test was OK.

More info:

Here=92s 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=3D276061440
May 18 17:58:39 noel kernel: ad4: FAILURE - WRITE_DMA48 =
status=3D51<READY,DSC,ERROR> error=3D10<NID_NOT_FOUND> LBA=3D276061440
May 18 17:58:39 noel kernel: GEOM_MIRROR: Synchronization request failed =
(error=3D5). ad4[WRITE(offset=3D141343457280, length=3D131072)]

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=3Dpts/3 ; PWD=3D/home/decibel =
; USER=3Droot ; COMMAND=3D/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=3D18176
May 18 18:18:07 noel kernel: ad4: WARNING - WRITE_DMA UDMA ICRC error =
(retrying request) LBA=3D233216
=85
May 18 18:20:32 noel kernel: ad4: WARNING - WRITE_DMA UDMA ICRC error =
(retrying request) LBA=3D29618944
May 18 18:20:35 noel kernel: ad4: WARNING - WRITE_DMA UDMA ICRC error =
(retrying request) LBA=3D30076928
May 18 18:20:54 noel kernel: ad4: WARNING - WRITE_DMA UDMA ICRC error =
(retrying request) LBA=3D33539072

Look at =
http://lists.freebsd.org/pipermail/freebsd-questions/2005-August/095214.ht=
ml, I tried changing the mode:

May 18 13:20:58 noel sudo:  decibel : TTY=3Dpts/3 ; PWD=3D/home/decibel =
; USER=3Droot ; COMMAND=3D/sbin/atacontrol mode ad4
May 18 18:21:05 noel kernel: ad4: WARNING - WRITE_DMA UDMA ICRC error =
(retrying request) LBA=3D35777024
May 18 18:21:13 noel kernel: ad4: WARNING - WRITE_DMA UDMA ICRC error =
(retrying request) LBA=3D37299200
May 18 13:21:14 noel sudo:  decibel : TTY=3Dpts/3 ; PWD=3D/home/decibel =
; USER=3Droot ; COMMAND=3D/sbin/atacontrol mode ad4 UDMA4

It didn=92t help=85

May 18 18:21:28 noel kernel: ad4: WARNING - WRITE_DMA UDMA ICRC error =
(retrying request) LBA=3D40399360
May 18 18:22:04 noel kernel: ad4: WARNING - WRITE_DMA UDMA ICRC error =
(retrying request) LBA=3D47683328
=85
May 18 18:23:30 noel kernel: ad4: WARNING - WRITE_DMA UDMA ICRC error =
(retrying request) LBA=3D64849664
May 18 18:23:30 noel kernel: ad4: WARNING - WRITE_DMA UDMA ICRC error =
(retrying request) LBA=3D64880896

Errors are still happening.

I can easily return the drive if that=92s the problem here, but as I =
mentioned a bonnie++ test didn=92t generate any errors.
--=20
Jim C. Nasby, Data Architect                       jim@nasby.net
512.569.9461 (cell)                         http://jim.nasby.net




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20A5D934-D95B-4650-9DD3-2879D7FC016B>