From owner-freebsd-questions@FreeBSD.ORG Sat Jul 31 09:40:45 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id CC8651065676 for ; Sat, 31 Jul 2010 09:40:45 +0000 (UTC) (envelope-from perryh@pluto.rain.com) Received: from agora.rdrop.com (agora.rdrop.com [IPv6:2607:f678:1010::34]) by mx1.freebsd.org (Postfix) with ESMTP id ADFAA8FC18 for ; Sat, 31 Jul 2010 09:40:45 +0000 (UTC) Received: from agora.rdrop.com (66@localhost [127.0.0.1]) by agora.rdrop.com (8.13.1/8.12.7) with ESMTP id o6V9ej9t084847 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT) for ; Sat, 31 Jul 2010 02:40:45 -0700 (PDT) (envelope-from perryh@pluto.rain.com) Received: (from uucp@localhost) by agora.rdrop.com (8.13.1/8.12.9/Submit) with UUCP id o6V9ejdK084846 for freebsd-questions@freebsd.org; Sat, 31 Jul 2010 02:40:45 -0700 (PDT) Received: from fbsd61 by pluto.rain.com (4.1/SMI-4.1-pluto-M2060407) id AA10505; Sat, 31 Jul 10 02:39:02 PDT Date: Sat, 31 Jul 2010 02:38:55 -0700 From: perryh@pluto.rain.com To: freebsd-questions@freebsd.org Message-Id: <4c53ef2f.bblzdu2k2iMBdNzW%perryh@pluto.rain.com> User-Agent: nail 11.25 7/29/05 Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Subject: Installing a system to use both gjournal and 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, 31 Jul 2010 09:40:46 -0000 I've read the Handbook sections on gmirror and gjournal, and the gjournal-desktop article, and I'm still unclear on how to go about setting up a configuration that uses both. * Since I haven't started the installation -- thus the partitions haven't even been created yet -- it seems as if it "should" be possible to put the journals in the same partitions with the data. * Since I can't mirror or journal a FAT32 slice AFAIK, and there seems little point in mirroring swap or /tmp, I think I want to end up with something along the lines of (on identical drives ad0 and ad2): ad0 ad2 ad0s1 FAT32 ad0s2 FreeBSD ad2s1 FreeBSD ad0s2a <----- gm0 -----> ad2s1a | +-----------------+ | | ad0s2b swap ad2s1b swap | ad0s2c [whole slice] ad2s1c [whole slice] | ad2s1d /tmp [same size as ad0s1] v gm0 gm0s1 gm0s1a gm0s1a.journal [gjournal label ad0s1a ad0s1a] rootFS gm0s1c [whole mirror] gm0s1d gm0s1d.journal [gjournal label ad0s1a ad0s1a] /var gm0s1e gm0s1e.journal [gjournal label ad0s1a ad0s1a] /usr How do I go about doing something like this?