From owner-freebsd-geom@FreeBSD.ORG Mon May 9 13:46:18 2005 Return-Path: Delivered-To: freebsd-geom@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7CB3616A4E8 for ; Mon, 9 May 2005 13:46:18 +0000 (GMT) Received: from biodiesel.gaiahost.coop (biodiesel.gaiahost.coop [64.95.78.120]) by mx1.FreeBSD.org (Postfix) with ESMTP id 18B5943D7E for ; Mon, 9 May 2005 13:46:18 +0000 (GMT) (envelope-from mark@gaiahost.coop) Received: from pooh.hubcapconsulting.com (host-216-153-147-194.spr.choiceone.net [::ffff:216.153.147.194]) (AUTH: PLAIN mark@hubcapconsulting.com) by biodiesel.gaiahost.coop with esmtp; Mon, 09 May 2005 08:46:11 -0400 id 0006C064.427F5B93.00004891 From: Mark Bucciarelli Organization: GAIA Host Collective To: freebsd-geom@freebsd.org Date: Mon, 9 May 2005 09:46:13 -0400 User-Agent: KMail/1.7.2 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200505090946.13708.mark@gaiahost.coop> Subject: swap and gmirror X-BeenThere: freebsd-geom@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: GEOM-specific discussions and implementations List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 09 May 2005 13:46:18 -0000 I have two drives where the first slice is mirrored using gmirror. Last night I thought I was being very clever by creating a swap slice on each drive and not mirroring those. Better performance as swap is distributed across two disks and faster writes because swap is not mirrored. Also, I saw This morning, I started having second thoughts. Isn't there a chance that if a disk dies, some running process may lose the data it has swapped to disk. That, I imagine, would be a very bad thing. If so, is there any safe way to configure swap so it is not mirrored? Regards, Mark