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?

Not an easy one (not that I can think of)

Of course there is an option. Backup, reconfigure your RAID controller
(using the BIOS of your card), re-install and restore. But I suppose
this is not an easy option if the machine is colocated far away.

| Is there a way to access sd1?

You have no sd1, only sd0. It's made up of two separate disks, but
that is pretty much transparent to the OS.

| Are ami0 and sd0 the same thing? or am I writing to a peticular drive in an
| array?

No, ami0 is the controller, sd0 is the *VIRTUAL* disk. Compare pciide0
and wd0 in an average laptop/desktop PC. In your case it's not a real
drive you can hold in your hand, it is the RAID1 mirrored drive that
gets presented to the OS by the drivers as a single drive. You're not
writing to a peticular drive in a RAID1 set, you're writing to both
underlying disks in parallel. They should contain the same data (more
or less, there's probably some interesting details somewhere on the
disk that tell the ami-controller what is on each drive). The details
are left to the OS and the RAID controller.

If a drive fails, you can replace it without downtime. The controller
should rebuild the mirror and you can get more sleep at night.

This is what we call : "Free RAID management tools without the vendor
adventure"

| Do I have to wait for Marco to help me with this?

Marco is probably busy writing more code or maybe having a beer ;)

Let me ask you this : Why buy a RAID controller and not use its
(supported) functionality ?

Cheers,

Paul 'WEiRD' de Weerd


--
>++++++++[<++++++++++>-]<+++++++.>+++[<------>-]<.>+++[<+
+++++++++++>-]<.>++[<------------>-]<+.--------------.[-]
                 http://www.weirdnet.nl/

[demime 1.01d removed an attachment of type application/pgp-signature]

Reply via email to