Going against everything I stand for regarding these issues I will give you a
complicated procedure to recover your data from a RAID-1.  Let me start off
first by telling you that this is a recipe for disaster and likely to fail if
you don't know EXACTLY what you are doing.

So if you are prepared to lose all your data and reinstall from scratch here is
what you do.
In CTRL-M:
* Clear the configuration
* Find the smallest of the 2 drives and create a RAID-0 of that disk.
* Find the largest of the 2 drives and create a RAID-0 of that disk.

Do it it in this order or the machine likely it won't boot.  Sounds simple but
it's a good amount of messing around in the CTRL-M BIOS to get this all done.

The second disk is guaranteed going to corrupt itself!  The trick is hoping
that you didn't do anything radical when you set up the RAID 1.  If you didn't
you have a fighting chance for it to boot and work normally.  There is also a
good chance that you now destroyed all your data so use this procedure at your
own risk; don't blame me, OpenBSD or anyone on this list if it goes wrong.

You should upgrade the RAID firmware to the latest supported level while at it.

Feel free to send lots of cash as a donation to OpenBSD if this works for you.

Good luck,
/marco

On Mon, Mar 06, 2006 at 02:08:31PM -0800, Openbsd User wrote:
> I installed OpenBSD onto sd0 thinking that I could go back later and use 
> sd1, but I just found out that I have raid 1 installed and that is the 
> reason that I can't access sd1. I do have two identical hard drives but 
> only one shows up in the dmesg.
> 
> Is there a way to disable the raid without losing the data?
> Is there a way to access sd1?
> Are ami0 and sd0 the same thing? or am I writing to a peticular drive in an 
> array?
> Do I have to wait for Marco to help me with this?
> http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/

Reply via email to