"Dennis S.Davidoff" <[EMAIL PROTECTED]> writes:

> How to reconfigure RAIDFrame to use another hdd? Earler I have such
> configuration with NON-existent hdd (wd2):
>
> ...
> START disks
> /dev/wd1e
> /dev/wd2e
> ...
>
> Now, I need to replace non-existent wd2e with wd0e. Disklabel for wd0
> identical to wd1e. After reading raidctl(8) I did following:
>
> raidctl -a /dev/wd0e raid0
> raidctl -vF component1 raid0
> raidctl -P raid0
>
> Again after reboot I've got failed ``component1':
>
> # raidctl -vs raid0
> raid0 Components:
>            /dev/wd1e: optimal
>           component1: failed
> No spares.

It seems you weren't successful in adding wd0e as a spare.  But if you
were,

raidctl -r /dev/wd0e raid0

to remove it.

Modify your raid0.conf:
START disks
/dev/wd1e
/dev/wd0e
...

raidctl -Rv /dev/wd0e raid0
raidctl -Pv raid0

to reconstruct directly onto wd0e.

I'm not sure what to make of 'component1'.  It's not an explicit
device, did you use that string your raid0.conf?  The first slot in
these commands should refer to an explicit device.

-- 
KBK

Reply via email to