Mitja Mu>enih wrote:
Wrong procedure - you never need a -I or -i again, once you have created the
set initially. At this point you can try to salvage your setup by adding
wd0d as spare, then simply fail component0 (raidctl -vF component0 raid0).
Don't do any reinitialization as you did.
Mitja
Hi all!
At the sugestion of Mitja Mu>enih i did exactly this:
# raidctl -a /dev/wd0d
raid0
# raidctl -vF component0 raid0
Reconstruction status:
0% | | ETA: 00:01 -
# raidctl -vs
raid0
raid0 Components:
component0: spared
/dev/wd1d: optimal
Spares:
/dev/wd0d: used_spare
component0 status is: spared. Skipping label.
Component label for /dev/wd1d:
Row: 0, Column: 1, Num Rows: 1, Num Columns: 2
Version: 2, Serial Number: 2008012402, Mod Counter: 61
Clean: No, Status: 0
sectPerSU: 128, SUsPerPU: 1, SUsPerRU: 1
Queue size: 100, blocksize: 512, numBlocks: 3729536
RAID Level: 1
Autoconfig: Yes
Root partition: Yes
Last configured as: raid0
raidctl: ioctl (RAIDFRAME_GET_COMPONENT_LABEL) failed
# reboot
After reboot
# raidctl -vs
raid0
raid0 Components:
component0: failed
/dev/wd1d: optimal
No spares.
component0 status is: failed. Skipping label.
Component label for /dev/wd1d:
Row: 0, Column: 1, Num Rows: 1, Num Columns: 2
Version: 2, Serial Number: 2008012402, Mod Counter: 65
Clean: No, Status: 0
sectPerSU: 128, SUsPerPU: 1, SUsPerRU: 1
Queue size: 100, blocksize: 512, numBlocks: 3729536
RAID Level: 1
Autoconfig: Yes
Root partition: Yes
Last configured as: raid0
Parity status: clean
Reconstruction is 100% complete.
Parity Re-write is 100% complete.
Copyback is 100% complete.
About using the non-existent disk, been there, done that, same
result. In a previous attempt at doing this setup, i've used in
/etc/raid0.conf as START DISKS /dev/wd1d and /dev/wd2d. The result was
the same.
I saw on http://erdelynet.com/openbsd/raidframe-tricks/ a good trick
at doing this. Mike Erdely ended up in a setup of his with the same
problem. He unconfigured the raid ( raidctl -u raid0 ) and then he
configured it again ( raidctl -c /etc/raid0.conf raid0). The big
difference is that he was creating an array for /home, so I can't use
the same trick.