Subject: Re: RAIDframe error recovery procedures.....
To: NetBSD User's Discussion List <netbsd-users@NetBSD.ORG>
From: Greg Oster <oster@cs.usask.ca>
List: netbsd-users
Date: 09/09/2002 16:00:49
Greg A. Woods writes:
> I have a RAIDframe device in the following state.  I believe sd11d will
> come back A-OK after a reboot.  If so how do I recover it to "normal"
> state in RAIDframe?

Reboot.  sd11d should still show up in the RAID set as being 'failed'.
Then do:

 raidctl -R /dev/sd11d raid0

That's the simplest.  ('-R' == rebuild-in-place.)

> 17:48 [2038] # raidctl -s raid0
> Components:
>            /dev/sd6d: optimal
>            /dev/sd7d: optimal
>            /dev/sd8d: optimal
>            /dev/sd9d: optimal
>           /dev/sd10d: optimal
>           /dev/sd11d: failed
> Spares:
>           /dev/sd12d: spare
[snip]

Later...

Greg Oster