|
OpenBSD General Other questions regarding OpenBSD which do not fit in any of the categories below. |
|
Thread Tools | Display Modes |
|
|||
softraid: your experiences and suggestions?
Hi guys,
I was looking into softraid but I didn't find a lot of doc, especially about the management aspect. I am unclear about a few things: I didn't exactly understand how to replace a failed drive in a mirror. It seems the first step to building the mirror is to disklabel the whole drives as RAID (not documented in disklabel manpage as far as I could see) and then once the softraid device is setup, you disklabel the softraid device all over again with your individual slices. Is this right? So then if a device fails you detach it and then attach a new one. But do you have to disklabel and set it to RAID before you attach, or does the attach do a bitwise copy of the remaining devices in the softraid device automagically.. or something else? After you configure a softraid device is it possible to read the individual drives separately? I'm kinda concerned, given the combination of my lack of UNIX prowess over the past twenty years and the terse doc, that a situation could arise where I can't get my data...which would be directly opposite to the reason I want to do this. Yes, RAID mirror is my backup strategy. I am worried about disk failure, not about doing something dumb. If you have any comments or stories about softraid on recent OpenBSD versions please post your experiences! Thanks, Joe |
|
|||
Hi Josh,
How great to see you and so many guys on the forum after so many years! Thanks for a superb, helpful answer as always Thank you for the clarifications. I think I understand everything you wrote but I have a couple of questions. Quote:
Second question is on rebuilding a mirror. I understood from your post first you have to disklabel the replacement drive as RAID before you can attach it. But do you also have to disklabel the replacement drive as it should be reflected in the softraid device or is that handled automagically? Thanks! Joe |
|
||||
Quote:
Once you modify a single mirror in the RAID group -- such as merely mounting it r/w -- you have split the mirror and will need to rebuild the RAID group in order to resync mirrors. Quote:
Keep in mind, especially for testing and familiarizing yourself with softraid(): the chunks do not have to be the size of a full drive, and for testing don't need to be on different drives.. The chunks don't even have to be all the same size -- the RAID group is set to the size of the smallest chunk. Last edited by jggimi; 7th April 2019 at 07:35 PM. Reason: clarity |
|
|||
Quote:
I have been playing around a bit but not much since I don't have much time lately. I installed 6.4 under Virtual Box. I went through the FAQ steps and created a softraid device and installed. System runs fine of course. I may be missing something but when I boot the installer, I can't see anything but RAID when I fdisk the first drive in the softraid device. And disklabel borks when I specify the second drive. I just realized I want to check something. Too bad I can't save this as a draft. I'll try a few things and ask better questions. Thanks for your help! |
|
||||
I'll make some guesses.
Quote:
|
Tags |
softraid |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Wine: Your Experiences | ninjatux | Off-Topic | 10 | 4th June 2013 12:48 PM |
Soekris experiences | Carpetsmoker | General Hardware | 42 | 21st August 2009 01:52 PM |
NetBSD 4.0: your experiences with binary / source pkgs? | anomie | NetBSD Package System (pkgsrc) | 10 | 23rd December 2008 08:12 PM |
HDD formatted UFS under AMD64 experiences weirdness under I386 | Gemini | FreeBSD General | 4 | 9th December 2008 05:27 AM |
SOFTRAID(4) | revzalot | OpenBSD Installation and Upgrading | 3 | 27th July 2008 08:40 PM |