"Dennis S.Davidoff" <[EMAIL PROTECTED]> writes: > Wednesday, November 16, 2005, 11:35:16 PM, you wrote: > > KBK> I'm not sure what to make of 'component1'. It's not an explicit > KBK> device, did you use that string your raid0.conf? The first slot in > KBK> these commands should refer to an explicit device.
Brian A. Seklecki explained that, thanks. > > # raidctl -vF component1 raid0 > # raidctl -vP raid0 > # raidctl -s raid0 > raid0 Components: > /dev/wd1e: optimal > component1: spared > Spares: > /dev/wd0e: used_spare Well, you got the spare used that time.... > Parity status: clean > Reconstruction is 100% complete. > Parity Re-write is 100% complete. > Copyback is 100% complete. > > # raidctl -r /dev/wd0e raid0 > # cat /etc/raid0.conf > START array > 1 2 0 > > START disks > /dev/wd1e > /dev/wd0e So you modified raid0.conf? I wonder why it didn't show up in the status below? You are very close at this point. Since you are following the instructions in raidctl (8) section "Dealing with Component Failures", text starting with "The second option after the reconstruction is to simply use /dev/sd4e in place of /dev/sd2e in the configuration file" and moved wd0e in the config file, I think should have been (and apparently should still be, since -R failed) done. > START layout > 128 1 1 1 > > START queue > fifo 100 > # raidctl -Rv /dev/wd0e raid0 > > raidctl: ioctl (RAIDFRAME_GET_INFO) failed With this method, you have to fail wd0e before you can reconstruct on it. raidctl -vF /dev/wd0e raid0 before raidctl -R If you only have two drives, it's easier to follow the method in the section starting with "A second option is to rebuild directly onto /dev/sd2e", because you don't have to modify raid0.conf. I've had to reconstruct a couple of times using that method when I had an unexpected power failure and my UPS didn't work. The drive was physically OK, but RAIDFrame failed it. Sorry for the slow response, I was away yesterday. > # raidctl -sv raid0 > raid0 Components: > /dev/wd1e: optimal > component1: spared > Spares: > /dev/wd0e: used_spare > Component label for /dev/wd1e: > Row: 0, Column: 0, Num Rows: 1, Num Columns: 2 > Version: 2, Serial Number: 777, Mod Counter: 348 > Clean: No, Status: 0 > sectPerSU: 128, SUsPerPU: 1, SUsPerRU: 1 > Queue size: 100, blocksize: 512, numBlocks: 156038272 > RAID Level: 1 > Autoconfig: Yes > Root partition: Yes > Last configured as: raid0 > component1 status is: spared. Skipping label. > raidctl: ioctl (RAIDFRAME_GET_COMPONENT_LABEL) failed You really get this after removing wd0e with -r and modifying raid0.conf as above? -- KBK