From owner-freebsd-questions@FreeBSD.ORG Wed Oct 1 13:18:06 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id EEA111065689 for ; Wed, 1 Oct 2008 13:18:05 +0000 (UTC) (envelope-from dino_vliet@yahoo.com) Received: from web51102.mail.re2.yahoo.com (web51102.mail.re2.yahoo.com [206.190.38.144]) by mx1.freebsd.org (Postfix) with SMTP id 94D408FC1E for ; Wed, 1 Oct 2008 13:18:05 +0000 (UTC) (envelope-from dino_vliet@yahoo.com) Received: (qmail 88666 invoked by uid 60001); 1 Oct 2008 13:18:05 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=X-YMail-OSG:Received:X-Mailer:Date:From:Reply-To:Subject:To:Cc:MIME-Version:Content-Type:Message-ID; b=5s6W4mgjsv6Y5C6g+RzPlNNnVLC/mJbhZGabd62fQ2iJ+Gw33wwVhsHqVSMf37lBxz/YlnHfTEtWHVl8CpPW4BypR0DeVhgmlZgC+R5yGC8zpPQkOCcyylBKDRFM7kFLqXu8hIqSRKDwz3O8SFxYL01awTSk+8E0lHZP9EB1awE=; X-YMail-OSG: mv8WbSkVM1myao53F5pgMR.x7AaOpQ0DgXdRUkwxy2JVq_u1cj33E2ShcW.tj.J7Gn69b_WLBcmM75G_6bQvlLIx3BD787ShkWKNFDXwX6s6YyCuIzdh8sqga1NNNQWONJwna9gIu819As2grQRWIc2ydZ4UyQbBjKrCIi_o25_ydwJsEQ-- Received: from [167.202.221.228] by web51102.mail.re2.yahoo.com via HTTP; Wed, 01 Oct 2008 06:18:04 PDT X-Mailer: YahooMailWebService/0.7.218.2 Date: Wed, 1 Oct 2008 06:18:04 -0700 (PDT) From: Dino Vliet To: af300wsm@gmail.com MIME-Version: 1.0 Message-ID: <984631.87587.qm@web51102.mail.re2.yahoo.com> Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-questions@freebsd.org Subject: Re: Setting up gmirror X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: dino_vliet@yahoo.com List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 01 Oct 2008 13:18:06 -0000 Wednesday, October 1, 2008 6:34 AM From:=20 "Andrew Falanga" To:=20 "freebsd-questions@freebsd.org" Hi, I've just finished setting up a new web server, and if I get my DNS stuff correct hopefully an e-mail server too, for my church. Originally, the intention was to use RAID1 on the MOBO.=A0 However, the RAID controller on the MOBO consistently tried to make the SATA DVD drive part of the RAID array and wouldn't boot the FreeBSD boot disk. So, at the suggestion of another respondent here, I've decided to use gmirror. Now, it seems that gmirror is, perhaps, newer to FreeBSD than the software RAID stuff in the Handbook.=A0 That mentions ccd(4) and doesn't make any mention of gmirror(8).=A0 It seems like gmirror is rather easy to work with, and more important, easy to recover from is hardware fails.=A0 In any event, I want to make sure I'm understanding the manual page correctly because I don't have anything else to test this on except the churches computer.=A0 We have two Seagate 250gb SATA drives. Identical drive models so their sizes are the same.=A0 Is this the command, from gmirror(8), the one I'll want to use? =A0 =A0=A0=A0Create a mirror on disk with valid data (note that the last se= ctor of the =A0 =A0=A0=A0disk will be overwritten).=A0 Add another disk to this mirror,= so it will =A0 =A0=A0=A0be synchronized with existing disk: =A0=A0=A0 =A0=A0=A0gmirror label -v -b round-robin data da0 =A0=A0=A0 =A0=A0=A0gmirror insert data da1 Though in my case, da0 and da1 will be ad4 and ad5.=A0 This seems to be the one I'm looking for, I'm just scared of wiping out more than I bargain for. Andy --=20 A: Because it messes up the order in which people normally read text. Q: Why is it such a bad thing? A: Top-posting. Q: What is the most annoying thing on usenet and in e-mail? ************** =A0 Hi Andy, =A0 Although I assume you can't start from scratch, I think the article on this= topic=A0by the famous Dru Lavigne is very good: =A0 http://www.onlamp.com/pub/a/bsd/2005/11/10/FreeBSD_Basics.html =A0 This is what I've used to do it. Now I did a google search and found: =A0 http://www.onlamp.com/pub/a/bsd/2005/11/10/FreeBSD_Basics.html?page=3D2 =A0 And gmirror is in the handbook, if found it in: =A0 http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/geom-mirror.html =A0 So these sources will give you a lot of knowledge. =A0 I swear by gmirror, I had very good experience with it and will use it in t= he future again. I just need to find some time to attach the two identical = HDD's to my via c7 system. =A0 Brgds Dino =0A=0A=0A