Subject: Can't rebuild RAID
To: NetBSD/users <netbsd-users@netbsd.org>
From: Michael Watters <michael@watters.ws>
List: netbsd-users
Date: 02/27/2007 10:18:45
For some reason I can't get my array to rebuild on my file server, when 
I try to rebuild it this is what I get:

nfs# raidctl -R -v /dev/wd2e raid0
raidctl: ioctl (RAIDFRAME_GET_INFO) failed: Inappropriate ioctl for device

I replaced the disk and it is part of the array, raidctl even shows it 
as failed.

nfs# raidctl -s raid0             
Components:
           /dev/wd1e: optimal
           /dev/wd2e: failed
No spares.
Component label for /dev/wd1e:
   Row: 0, Column: 0, Num Rows: 1, Num Columns: 2
   Version: 2, Serial Number: 2007011401, Mod Counter: 12582980
   Clean: No, Status: 0
   sectPerSU: 128, SUsPerPU: 1, SUsPerRU: 1
   Queue size: 100, blocksize: 512, numBlocks: 312581632
   RAID Level: 1
   Autoconfig: No
   Root partition: No
   Last configured as: raid0
/dev/wd2e status is: failed.  Skipping label.
Parity status: DIRTY
Reconstruction is 100% complete.
Parity Re-write is 100% complete.
Copyback is 100% complete.

Does anybody know how to actually get this thing to rebuild?