From owner-freebsd-questions@FreeBSD.ORG Sat Aug 13 16:17:42 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 7875016A41F for ; Sat, 13 Aug 2005 16:17:42 +0000 (GMT) (envelope-from bobself@charter.net) Received: from mxsf38.cluster1.charter.net (mxsf38.cluster1.charter.net [209.225.28.165]) by mx1.FreeBSD.org (Postfix) with ESMTP id 171B943D46 for ; Sat, 13 Aug 2005 16:17:41 +0000 (GMT) (envelope-from bobself@charter.net) Received: from mxip08a.cluster1.charter.net (mxip08a.cluster1.charter.net [209.225.28.138]) by mxsf38.cluster1.charter.net (8.12.11/8.12.11) with ESMTP id j7DGHeZ1013406 for ; Sat, 13 Aug 2005 12:17:40 -0400 Received: from 24-177-225-234.dhcp.spbg.sc.charter.com (HELO [127.0.0.1]) ([24.177.225.234]) by mxip08a.cluster1.charter.net with ESMTP; 13 Aug 2005 12:17:40 -0400 X-IronPort-AV: i="3.96,104,1122868800"; d="scan'208"; a="1257834648:sNHT168436638" Message-ID: <42FE1D1B.6090407@charter.net> Date: Sat, 13 Aug 2005 12:17:31 -0400 From: bob self User-Agent: Mozilla Thunderbird 1.0.6 (Windows/20050716) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Andrea Venturoli References: <42FB4312.7040201@charter.net> <42FB7246.9090908@netfence.it> In-Reply-To: <42FB7246.9090908@netfence.it> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org 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: Sat, 13 Aug 2005 16:17:42 -0000 Andrea Venturoli wrote: > 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. > > So, is there swap space somewhere? What if I run out of RAM? thanks, Bob