[please CC me on any replies, as I'm not on m...@openbsd.org] Siju George writes: > Hi, > > I am not able to re write the parity for my Raid set. > > # raidctl -Sv raid0 > raid0 Status: > Reconstruction is 100% complete. > Parity Re-write is 100% complete. > Copyback is 100% complete. > raidctl: ioctl () failed > # raidctl -sv raid0 > raid0 Components: > /dev/wd0d: failed > /dev/wd1d: optimal
You cannot rebuild parity in this case because one of your disks has failed (parity re-writing can only happen if all the disks are 'good'). If you wish to attempt to rebuild that disk, you can do so with: raidctl -vR /dev/wd0d raid0 to do a reconstruct-in-place. Of course, finding out the real reason for why that disk has failed should also be on the top of your TODO list :) (e.g. if the disk is having physical read/write errors, you proably want to replace it before doing the rebuild. ) Later... Greg Oster