From owner-freebsd-geom@FreeBSD.ORG Fri Jan 5 04:30:05 2007 Return-Path: X-Original-To: freebsd-geom@freebsd.org Delivered-To: freebsd-geom@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id B7B2516A412 for ; Fri, 5 Jan 2007 04:30:05 +0000 (UTC) (envelope-from tom.hurst@clara.net) Received: from spork.qfe3.net (spork.qfe3.net [212.13.207.101]) by mx1.freebsd.org (Postfix) with ESMTP id 6989613C448 for ; Fri, 5 Jan 2007 04:30:05 +0000 (UTC) (envelope-from tom.hurst@clara.net) Received: from [81.104.144.87] (helo=voi.aagh.net) by spork.qfe3.net with esmtp (Exim 4.62 (FreeBSD)) (envelope-from ) id 1H2giN-000ERA-Pm; Fri, 05 Jan 2007 04:29:59 +0000 Received: from freaky by voi.aagh.net with local (Exim 4.63 (FreeBSD)) (envelope-from ) id 1H2giN-0007sC-Gj; Fri, 05 Jan 2007 04:29:59 +0000 Date: Fri, 5 Jan 2007 04:29:59 +0000 From: Thomas Hurst To: "Rick C. Petty" Message-ID: <20070105042959.GA28563@voi.aagh.net> Mail-Followup-To: "Rick C. Petty" , freebsd-geom@freebsd.org, michael.knoll@gmail.com References: <975053160612310913t3dadcc02yfac58f6fbf0a49df@mail.gmail.com> <20070101215016.GA71635@voi.aagh.net> <20070102195201.GC83431@keira.kiwi-computer.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20070102195201.GC83431@keira.kiwi-computer.com> Organization: Not much. User-Agent: Mutt/1.5.13 (2006-08-11) Sender: Thomas Hurst Cc: michael.knoll@gmail.com, freebsd-geom@freebsd.org Subject: Re: Recommended gmirror solution with swap? X-BeenThere: freebsd-geom@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: GEOM-specific discussions and implementations List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 05 Jan 2007 04:30:05 -0000 * Rick C. Petty (rick-freebsd@kiwi-computer.com) wrote: > Where is that rc.conf option defined or used? Certainly not in 6.x: > > % grep -R swapoff /etc/ > /etc/security/audit_event:355:AUE_DARWIN_SWAPOFF:swapoff():ad > /etc/security/audit_event:43045:AUE_SWAPOFF:swapoff():ad Indeed; it didn't last long, but the legacy seems to remain in some guides: http://www.freebsd.org/cgi/cvsweb.cgi/src/etc/rc.d/swap1 Revision 1.6.2.4 Mon Jan 3 12:41:39 2005 UTC Gmirror now uses shutdown hooks to stop itself in a clean way, that's why we don't need stop method for rc.d/swap1 script anymore. Revision 1.6.2.3 Sat Oct 16 08:13:19 2004 UTC Do not remove swap partitions by default as it cause some problems. Instead, add 'swapoff' variable to rc.conf (turned off by default), so users who use gmirror and swap-on-mirror configuration still can turn it on and avoid problems with dirty mirror components on next boot. -- Thomas 'Freaky' Hurst http://hur.st/