From owner-freebsd-questions@FreeBSD.ORG Thu Jun 30 17:16:01 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 4D0B616A41C; Thu, 30 Jun 2005 17:16:01 +0000 (GMT) (envelope-from root@pukruppa.de) Received: from moutng.kundenserver.de (moutng.kundenserver.de [212.227.126.188]) by mx1.FreeBSD.org (Postfix) with ESMTP id DAAA143D1F; Thu, 30 Jun 2005 17:16:00 +0000 (GMT) (envelope-from root@pukruppa.de) Received: from reverse-213-146-114-24.cust.kamp-dsl.de [213.146.114.24] (helo=reverse-213-146-114-24.cust.kamp-dsl.de) by mrelayeu.kundenserver.de with ESMTP (Nemesis), id 0MKwh2-1Do2dh0MUA-0006iL; Thu, 30 Jun 2005 19:15:49 +0200 Date: Thu, 30 Jun 2005 19:19:40 +0200 (CEST) From: "P.U.Kruppa" X-X-Sender: root@www.pukruppa.net To: freebsd-questions@freebsd.org Message-ID: <20050630185836.L46920@www.pukruppa.net> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Provags-ID: kundenserver.de abuse@kundenserver.de login:2446dbdf8275641f979193ced594c629 Cc: rse@FreeBSD.org Subject: raid1 with gmirror (some questions left) 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, 30 Jun 2005 17:16:01 -0000 Hi! I have to set up a new proxy for our school. Since I found two identical IDE disks, I gave a software raid1 with gmirror a try. I set the two disk as primary and secondary master, ie. ad0 and ad2, and followed Ralf Engelschall's excellent HowTo at http://people.freebsd.org/~rse/mirror/ (Approach 1: Whole disk) As far as I can see, booting from gm0 works fine. There are only two questions left: 1) I installed FreeBSD 5.4 -RELEASE and thus I put - as recommended (or was that only for 5.3 ???) - swapoff="YES into my /etc/rc.conf . Now my raid1 device doesn't show any swap partition. Is this o.k., or should it be reactivated somehow? 2) In case one of my disks fails (let's say ad2), what is the correct procedure to exchange it? My guess: - power down my machine - insert new disk - # gmirror configure -a gm0 - # gmirror insert gm0 /dev/ad2 - wait until # gmirror list shows both disks active again That's it? Thanks for your answers, Uli. ********************************************* * Peter Ulrich Kruppa - Wuppertal - Germany * *********************************************