From owner-freebsd-questions@FreeBSD.ORG Thu Jul 21 11:51:31 2005 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id EC45E16A425 for ; Thu, 21 Jul 2005 11:51:31 +0000 (GMT) (envelope-from freebsd@meijome.net) Received: from sigma.octantis.com.au (sigma.octantis.com.au [207.44.188.23]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5498043D99 for ; Thu, 21 Jul 2005 11:51:19 +0000 (GMT) (envelope-from freebsd@meijome.net) Received: (qmail 19475 invoked from network); 21 Jul 2005 21:51:18 +1000 Received: from unknown (HELO ?192.168.13.3?) (202.59.110.3) by sigma.octantis.com.au with (DHE-RSA-AES256-SHA encrypted) SMTP; 21 Jul 2005 21:51:18 +1000 Message-ID: <42DF8C31.5010106@meijome.net> Date: Thu, 21 Jul 2005 21:51:13 +1000 From: Norberto Meijome User-Agent: Mozilla Thunderbird 1.0.2 (Windows/20050317) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Daniel Marsh References: <42DF4A96.1080305@meijome.net> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit Cc: FreeBSD Questions Subject: Re: Bootstrapping Raid 5 w/GEOM X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 21 Jul 2005 11:51:32 -0000 Daniel Marsh wrote: > On Thu, 21 Jul 2005 15:11:18 +0800, Norberto Meijome > wrote: > >> Hi all, >> I have a box with 4 x 120 GB EIDE drives which I want to convert to >> FreeBSD 5.4 ( it's an old SNAP 4500 from Snap Appliance, now owned by >> Adaptec, running a custom build of Linux) >> >> I want to setup software Raid 5 , and I want it to affect ALL >> partitions, including / (so if any one of the drives fails, it will >> still boot up properly). I am planning on using GEOM, but open to >> suggestions. > > > See gmirror and geom. > http://www.freebsd.org/cgi/man.cgi?query=gmirror&apropos=0&sektion=0&manpath=FreeBSD+5.4-RELEASE+and+Ports&format=html > > > http://www.freebsd.org/cgi/man.cgi?query=geom&apropos=0&sektion=0&manpath=FreeBSD+5.4-RELEASE+and+Ports&format=html Thanks for the links , but i'm not too sure what steps I ought to follow. I basically want to have the RAID 5 across ad0, ad1, ad2, ad3 , and the partitions on top of that. and then build my system on top of that (as if it were a hardare RAID controller, and I'd be installing on top of amr0s1, for example). I think this should be doable, right? So, should I 1) Boot up with Disc 1, install minimal config, reboot 2) setup GEOM RAID 5 on all the discs ? 3) edit fstab to point to /dev/[what??]/[what else] instead of /ad0s1[abef] ? or boot up with CD 1, run GEOM, build the raid 5 from here before installing anything, then install on top? thanks for your all help :) Beto