From owner-freebsd-questions@FreeBSD.ORG Fri Aug 12 11:53:18 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 4103E16A41F for ; Fri, 12 Aug 2005 11:53:18 +0000 (GMT) (envelope-from ml.diespammer@netfence.it) Received: from parrot.aev.net (host29-15.pool8174.interbusiness.it [81.74.15.29]) by mx1.FreeBSD.org (Postfix) with ESMTP id DAEAA43D49 for ; Fri, 12 Aug 2005 11:53:16 +0000 (GMT) (envelope-from ml.diespammer@netfence.it) Received: from soth.ventu ([195.191.20.150]) (authenticated bits=128) by parrot.aev.net (8.13.4/8.13.4) with ESMTP id j7CBvxYT029475 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Fri, 12 Aug 2005 13:59:02 +0200 (CEST) (envelope-from ml.diespammer@netfence.it) Received: from [10.1.2.18] (alamar.ventu [10.1.2.18]) (authenticated bits=0) by soth.ventu (8.13.3/8.13.3) with ESMTP id j7BFhH0C011844 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Thu, 11 Aug 2005 17:43:17 +0200 (CEST) (envelope-from ml.diespammer@netfence.it) Message-ID: <42FB7246.9090908@netfence.it> Date: Thu, 11 Aug 2005 17:44:06 +0200 From: Andrea Venturoli User-Agent: Mozilla Thunderbird 1.0.6 (X11/20050722) X-Accept-Language: en-us, en MIME-Version: 1.0 To: bob self , freebsd-questions@freebsd.org References: <42FB4312.7040201@charter.net> In-Reply-To: <42FB4312.7040201@charter.net> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Scanned-By: MIMEDefang 2.52 on 212.31.247.179 X-Scanned-By: MIMEDefang 2.52 on 10.1.2.13 Cc: Subject: Re: swap file using 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: Fri, 12 Aug 2005 11:53:18 -0000 bob self wrote: > I'm running 5.4 RELEASE. I have two identical hard drives. I installed > FreeBSD on the first drive and then > turned on gmirror. The 2nd drive sync'd in about 3 hours. I did create a > swap partition, but part of the > procedure that I found to start gmirror adds > > swapoff="YES"' to /etc/rc.conf > > Is that the right thing to do? Should gmirror run without swap? You are interpreting it incorrectly. If you put your swap partition on a gmirror drive, your swap partition will benefit from RAID 1. swapoff="YES" only allows for a clean shutdown, so that gmirror won't rebuild everything on next boot. bye av.