Weird problem with gmirror - cannot add the Good disk when previously failed SATA disk is online

Achilleas Mantzios achill at matrix.gatewaynet.com
Tue May 19 10:05:07 UTC 2009


Στις Monday 18 May 2009 22:07:24 ο/η Miroslav Lachman έγραψε:
> 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: <Intel i865G GMCH> 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
> 

Thanx.

> 
> Miroslav Lachman
> 



-- 
Achilleas Mantzios


More information about the freebsd-questions mailing list