From owner-freebsd-questions@FreeBSD.ORG Tue Jul 27 16:34:19 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 5223C106566C for ; Tue, 27 Jul 2010 16:34:19 +0000 (UTC) (envelope-from joey@mingrone.org) Received: from mail-bw0-f54.google.com (mail-bw0-f54.google.com [209.85.214.54]) by mx1.freebsd.org (Postfix) with ESMTP id E3CED8FC1E for ; Tue, 27 Jul 2010 16:34:18 +0000 (UTC) Received: by bwz12 with SMTP id 12so3946536bwz.13 for ; Tue, 27 Jul 2010 09:34:17 -0700 (PDT) MIME-Version: 1.0 Received: by 10.204.68.208 with SMTP id w16mr6819859bki.122.1280247009969; Tue, 27 Jul 2010 09:10:09 -0700 (PDT) Received: by 10.204.7.138 with HTTP; Tue, 27 Jul 2010 09:10:09 -0700 (PDT) Date: Tue, 27 Jul 2010 13:10:09 -0300 Message-ID: From: Joey Mingrone To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=UTF-8 Subject: GEOM: mirroring and journaling 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: Tue, 27 Jul 2010 16:34:19 -0000 Hello, I'm attempting to set up a storage server with mirrored and journaled filesystems. Initially I did the following: sysctl kern.geom.debugflags=17 dd if=/dev/zero of=/dev/ad8 bs=1k count=1 dd if=/dev/zero of=/dev/ad10 bs=1k count=1 gmirror label -vb round-robin gm0 /dev/ad8 gmirror load gjournal label /dev/mirror/gm0 gjournal load newfs -O 2 -J /dev/mirror/gm0.journal mount /dev/mirror/gm0.journal /mnt/mirror2 gmirror insert gm0 /dev/ad10 ,but I read in the archives there are potential issues with the labelling. Does anyone have any suggestions (or references to documentation) describing how this could be done? Are the GEOM parts for doing this sufficiently mature to consider this safe? This did seem to be working, but when I did a dump I got kernel panics like others who have posted recently. Thanks.