Re: softraid as hot replacement for raidframe

2008-03-12 Thread nicodache
On Wed, Mar 12, 2008 at 1:13 AM, Stuart Henderson [EMAIL PROTECTED] wrote:
 On 2008-03-11, nicodache [EMAIL PROTECTED] wrote:
   Now, the question is : is there any way to remotely (my box is in a
   remote securized datacenter with double code) jump from raidframe to
   softraid, as I've understood softraid was the future for OpenBSD ?

  not without foreign metadata support in softraid.

  as of 4.3, softraid is coming along nicely, but it doesn't have
  scrub/rebuild, it's not a full replacement for raidframe yet.
  at the moment, there are definitely situations where raidframe
  would just be able to reboot, where softraid would need manual
  intervention at the console (serial or otherwise).

So, you advice me to stay with RaidFrame as long as softraid is not
made the default raid driver, supporting automatic rebuild, nested
raid, and all the things that make a raid driver sexy and pointless at
some level ? ^^

Thank you for your answer.



Re: softraid as hot replacement for raidframe

2008-03-12 Thread Stuart Henderson
On 2008-03-12, nicodache [EMAIL PROTECTED] wrote:
 On Wed, Mar 12, 2008 at 1:13 AM, Stuart Henderson [EMAIL PROTECTED] wrote:
 On 2008-03-11, nicodache [EMAIL PROTECTED] wrote:
   Now, the question is : is there any way to remotely (my box is in a
   remote securized datacenter with double code) jump from raidframe to
   softraid, as I've understood softraid was the future for OpenBSD ?

  not without foreign metadata support in softraid.

  as of 4.3, softraid is coming along nicely, but it doesn't have
  scrub/rebuild, it's not a full replacement for raidframe yet.
  at the moment, there are definitely situations where raidframe
  would just be able to reboot, where softraid would need manual
  intervention at the console (serial or otherwise).

 So, you advice me to stay with RaidFrame as long as softraid is not
 made the default raid driver, supporting automatic rebuild, nested
 raid, and all the things that make a raid driver sexy and pointless at
 some level ? ^^

 Thank you for your answer.

It's not exactly advice, just pointing out some things you need to
know so you can make your own decision. Personally I used ccd rather
than raidframe before (since using a non-GENERIC kernel wasn't very
appealing) and I'm using softraid instead of that now, working fine
for me but there have been times I've been glad I have a console
server. :-)



softraid as hot replacement for raidframe

2008-03-11 Thread nicodache
Hello everyone,

I've been using raidframe as software raid driver to handle 2x80GB in
raid 1 soft, but for that purpose, I had to compile a custom kernel
with software raid enabled in it. As I only knew about raidframe when
I installed by box (was OpenBSD 4.1 at that time)
Now, I've seen in http://openbsd.org/plus43.html something like
Re-enabled softraid(4) in GENERIC configs for all platforms., which
should mean something like with the GENERIC kernel, you'll be able to
set up a raid and install OpenBSD on it, and boot from that array
(even if I might have to put the kernel on a separate partition).
Right ?

Now, the question is : is there any way to remotely (my box is in a
remote securized datacenter with double code) jump from raidframe to
softraid, as I've understood softraid was the future for OpenBSD ?
something like compile raidframe into 4.3 kernel, boot from it,
convert raid layer while running on it, then install the default
kernel and reboot on the softraid-enabled filesystem ?
I suppose I'll have somehow to convert my data on a unmounted
partition, in what case I'll have to either mess with virtual drives
and degraded arrays, or go in the datacenter, copy the data, and put
them back on a softraid thing.

Right ?

Thank you for any input.

Regards,

nicodache



Re: softraid as hot replacement for raidframe

2008-03-11 Thread Stuart Henderson
On 2008-03-11, nicodache [EMAIL PROTECTED] wrote:
 Re-enabled softraid(4) in GENERIC configs for all platforms., which
 should mean something like with the GENERIC kernel, you'll be able to
 set up a raid and install OpenBSD on it, and boot from that array

installing is usually done from a ramdisk kernel; the normal ones
don't yet have the devices (bio, softraid) and tools (bioctl) to
create new softraid devices.

 Now, the question is : is there any way to remotely (my box is in a
 remote securized datacenter with double code) jump from raidframe to
 softraid, as I've understood softraid was the future for OpenBSD ?

not without foreign metadata support in softraid.

as of 4.3, softraid is coming along nicely, but it doesn't have
scrub/rebuild, it's not a full replacement for raidframe yet.
at the moment, there are definitely situations where raidframe
would just be able to reboot, where softraid would need manual
intervention at the console (serial or otherwise).