Go Back   DaemonForums > OpenBSD > OpenBSD Installation and Upgrading

OpenBSD Installation and Upgrading Installing and upgrading OpenBSD.

Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1   (View Single Post)  
Old 22nd September 2009
sherekhan sherekhan is offline
New User
Join Date: May 2009
Location: Norway
Posts: 7
Default Rebuilding RAIDframe mirror after crash/power failure

I am setting up a new computer with OpenBSD, and have decided to try RAIDframe on it. I have set up two identical 10 GB disks with minimal a-partitions containing a kernel with RAIDframe support and a boot.conf to enable serial console, and b-partitions set up as a RAIDframe mirror, which in turn contains my root, swap and everything else.

I am not running a UPS on this computer, and while power failures are rare in my home they may happen. There is also the slim possibility of a crash, although I think that in all the years I've been using OpenBSD (since 3.4) I can still count all the crash incidents without running out of fingers on my first hand. Still, I have forced a power failure on the computer to see how it coped with that, and I was less than impressed with the time it took to bring the computer back up. The initial mirroring of the drives when I first set them up (raidctl -vi) took like 10-15 minutes, but when rebooting with an out of sync mirror it takes closer to an hour to bring the mirror back up. And the computer is unusable in this time.

- Why does rebuilding take so long?
- Is there anything I can do to speed this process up?
- Is it possible to let the computer boot into multiuser with all services running even with a dirty mirror, and then let it rebuild in the background?
Reply With Quote

raid, raidframe

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
init: can't exec getty after power failure mtx FreeBSD General 0 20th January 2009 10:14 AM
Updating FreeBSD Jails after rebuilding world on host anomie Guides 0 10th September 2008 03:23 AM
What's all this power for ? Snoop1990 FreeBSD General 20 9th July 2008 10:59 PM
mirror device detached on large file copy lil_elvis2000 FreeBSD General 24 27th June 2008 02:56 PM
Upgrading and rebuilding ALL packages/ports chill FreeBSD Ports and Packages 8 16th June 2008 04:55 AM

All times are GMT. The time now is 04:39 AM.

Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2018, Jelsoft Enterprises Ltd.
Content copyright © 2007-2010, the authors
Daemon image copyright ©1988, Marshall Kirk McKusick