gmirror Cannot add disk ad5 to gm0 (error=22)

R. B. Riddick arne_woerner at yahoo.com
Wed Aug 2 21:05:17 UTC 2006


--- Miroslav Lachman <000.fbsd at quip.cz> wrote:
> But how can I force gmirror to re-use this disk? I don't know, what 
> "broken, skipping" or "error=22" really means.
> 
error=22 might be EINVAL, which means "invalid argument" (taken from
/usr/include/errno.h)...

I would try the following:

1.
gmirror forget gm0
gmirror insert gm0 ad5

and/or

2.
gmirror remove gm0 ad5
gmirror insert gm0 ad5

Maybe I would repeat 1. and 2. 2-3 times... ;-))

I personally never had such problems with gmirror, so that I would guess, that
u still have ill hardware... Maybe the temperature is too high? Do u have
enough fans? Did u measure the temperature after some hours of heavy use (I
think, smartctl -a show the temperature somewhere...)?

Synchronization should start then automatically...

-Arne


__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 


More information about the freebsd-geom mailing list