NetBSD-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Cannot reconstruct RAID: raidctl: no match for wd1a



Petr Topiarz wrote:
1. the spare it does not have its name after reconstruction until reboot. So reboot and you will see.

Right. Did that, but it changed nothing.


2. in case that fails, what definitely helps is to run dd if=/dev/zero of=/dev/rwd1d over all the disk and then recreating it again.

Did that too already. :)


The NetBSD is brutally stable piece of software I have been using it for 15 years and it never has failed.

Absolutely!

And I found the solution! My wedges and the second RAID I'm
creating on them have likely been the problem:

/sbin/dkctl wd0 addwedge NASwd0 134220240 7679816928 raidframe
/sbin/dkctl wd1 addwedge NASwd1 134220240 7679816928 raidframe
/sbin/raidctl -c /etc/raid1.conf raid1

Booting without these commands in rc.local lets me add wd1a as
spare and reconstruct the RAID.


Unfortunately the sandpoint boot loader doesn't support GPT yet
(and it's my fault, because I wrote it 13 years ago), so I have
to add these wedges manually to get access to the full 4 TB.

Thanks!

--
Frank Wille



Home | Main Index | Thread Index | Old Index