From owner-freebsd-questions@FreeBSD.ORG Wed Oct 1 04:34:55 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 06032106568E for ; Wed, 1 Oct 2008 04:34:55 +0000 (UTC) (envelope-from af300wsm@gmail.com) Received: from mail-gx0-f21.google.com (mail-gx0-f21.google.com [209.85.217.21]) by mx1.freebsd.org (Postfix) with ESMTP id A232D8FC12 for ; Wed, 1 Oct 2008 04:34:54 +0000 (UTC) (envelope-from af300wsm@gmail.com) Received: by gxk14 with SMTP id 14so742573gxk.19 for ; Tue, 30 Sep 2008 21:34:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:mime-version:content-type:content-transfer-encoding :content-disposition; bh=xHa/PDpj5/ygmwtNj2cIKQlkXk1JkhFmD+Ur+erXi/s=; b=LmA7tabUfcVA9qsnpoaKx1rwnxFJ6TtS5K7b0W2cc8tLY93hsZkHkF67pUF3ZFx+L6 rDqSiGMCHC25UnZN7BO2pfa0YLQGiazVfnsob+xOceqaEA5e/m0CJkNZMiksFKBoAJJB Louu2DvAKvNgNP9FSnlwTUaRgmx5qIrayA+8c= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:mime-version:content-type :content-transfer-encoding:content-disposition; b=HY8AgQxIgne56y6AQDTSPtZLPfUWrz1wY1Ick8fCOMGpee5t90inGwrDsUMKuMxt4E BYU0ROyglvDpEg5ng9MUyx/56XJulW6cgIn5F5H8TF3+e5LYOWC2+GvmgF7+ZSdiIkMM amED34p5wukRnRyzPyXxxICYQKRw6ZgjcMvnI= Received: by 10.150.12.3 with SMTP id 3mr11368369ybl.17.1222835694029; Tue, 30 Sep 2008 21:34:54 -0700 (PDT) Received: by 10.150.182.18 with HTTP; Tue, 30 Sep 2008 21:34:53 -0700 (PDT) Message-ID: <340a29540809302134p2414e3cfw6a0694026e57d879@mail.gmail.com> Date: Tue, 30 Sep 2008 22:34:53 -0600 From: "Andrew Falanga" To: "freebsd-questions@freebsd.org" MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline Subject: Setting up gmirror 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: Wed, 01 Oct 2008 04:34:55 -0000 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. 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. That mentions ccd(4) and doesn't make any mention of gmirror(8). It seems like gmirror is rather easy to work with, and more important, easy to recover from is hardware fails. 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. We have two Seagate 250gb SATA drives. Identical drive models so their sizes are the same. Is this the command, from gmirror(8), the one I'll want to use? Create a mirror on disk with valid data (note that the last sector of the disk will be overwritten). Add another disk to this mirror, so it will be synchronized with existing disk: gmirror label -v -b round-robin data da0 gmirror insert data da1 Though in my case, da0 and da1 will be ad4 and ad5. This seems to be the one I'm looking for, I'm just scared of wiping out more than I bargain for. Andy -- 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?