On Wed, Sep 12, 2007 at 10:15:50PM -0700, Jake Conk wrote: > Hey, > > I tried following that article but I got stuck at the part where you > start partition your second drive. I created the first partition with > 100mb and type of 4.2 BSD then when I tried to create the second > partition on my drive as FS_RAID as the article says but it said that > FS_RAID is an unknown type and treated my partition as unknown? > > To me that part of the article on how to partition my disk is totally > unclear. All it says is make the first partition 100m for the boot > which makes sense then it doesn't say how to partition the rest of > your drive to setup for the RAID 1? Can someone clarify this a bit > more please? I'm stuck. >
The FS_RAID filesystem type is called (in OpenBSD disklabel for i386) just plain RAID. Type "RAID" at the prompt for filesystem type. (Side note: on e.g the platform sparc64 you use "4.2BSD", not "RAID") Then go on and follow the article again. There are other articles like that out there, I followed some other that was clearer on that point... Nowdays I tend to improvise. I prefer to retain the whole base installation that was used to build the raid-aware kernel (if I have the diskpace) in case of disaster. Then one does not have to start with a broken mirror - it can be created whole at once. By the way, I recall rumours about some other RAID implementation coming in OpenBSD 4.2. Does anyone know, just rumours? > Thanks, > - Jake > > Anyways how do I fix this FS_RAID problem > > On 9/12/07, nicodache <[EMAIL PROTECTED]> wrote: > > I personnaly used the following doc to set up my software raid 1 frame : > > http://www.linux.com/articles/52713 > > > > good luck :) > > > > On 9/12/07, Steve Williams <[EMAIL PROTECTED]> wrote: > > > Jake Conk wrote: > > > > Hello, > > > > > > > > I've searched hi and low for hours on how to setup my system of a RAID > > > > 1 and basically what it comes down to is ccd and/or Raid Frame. I've > > > > found helpful docs on using some of the commands and where to put my > > > > configurations but nothing seems complete enough for me to figure it > > > > out. > > > > > > > > I have OpenBSD 4.1 installed on one disk and I have an exact duplicate > > > > disk where i want to mirror my installation to incase of disk failure. > > > > If this needs to be setup during install I'm willing reinstall > > > > everything or if there is a way to configure my disks for ccd and > > > > mirror them to the second disk then I'm willing to do that also. > > > > > > > > Basically I don't know how to get this ball rolling, I've read 1) I > > > > must change the disk type with disk label to ccd. Then 2) create ccd0 > > > > with ccdconfig and tell it to mirror disk 1 to disk 2. It then 3) > > > > finally says to put my configuration into ccd.conf so that it can be > > > > read in on boot by my system and of course put the stuff in fstab to > > > > have it mounted on boot but thats all I know, everything is very vague > > > > and no exact details on how to do this step by step with a new install > > > > or a already running system. > > > > > > > > Can someone please help provide a step by step way to mirror my whole > > > > disk to a second disk by ressetting back up OpenBSD from scratch or if > > > > possible configure my already installed system? I don't care if its > > > > with ccd or another tool as long as I have a disk failover solution. > > > > > > > > > > > > Please Please Please and Thanks! > > > > - Jake > > > > > > > Hi, > > > > > > Not for CCD, but raidframe.. > > > > > > Search the mailing list archives for a thread with a subject "Seeking > > > info for RAID 1 on OpenBSD". In there you will find all sorts of info. > > > > > > http://marc.info/?l=openbsd-misc&m=116360194522004&w=2 > > > > > > http://www.packetmischief.ca/openbsd/doc/raidadmin/ > > > > > > Good Luck, > > > > > > Thanks, > > > Steve Williams -- / Raimo Niskanen, Erlang/OTP, Ericsson AB