From owner-freebsd-geom@FreeBSD.ORG Mon Oct 2 10:52:53 2006 Return-Path: X-Original-To: freebsd-geom@freebsd.org 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 8480F16A403 for ; Mon, 2 Oct 2006 10:52:53 +0000 (UTC) (envelope-from t.blum@home.nl) Received: from smtpq2.groni1.gr.home.nl (smtpq2.groni1.gr.home.nl [213.51.130.201]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1CD2443D45 for ; Mon, 2 Oct 2006 10:52:53 +0000 (GMT) (envelope-from t.blum@home.nl) Received: from [213.51.130.188] (port=43980 helo=smtp3.groni1.gr.home.nl) by smtpq2.groni1.gr.home.nl with esmtp (Exim 4.30) id 1GUMkk-0005ML-2U for freebsd-geom@freebsd.org; Mon, 02 Oct 2006 14:18:34 +0200 Received: from webmail1.groni1.gr.home.nl ([10.99.11.8]:52006 helo=webmail1.groni1) by smtp3.groni1.gr.home.nl with esmtp (Exim 4.30) id 1GULOF-00034j-MJ for freebsd-geom@freebsd.org; Mon, 02 Oct 2006 12:51:15 +0200 Message-ID: <20849637.1159786370263.JavaMail.root@webmail1.groni1> Date: Mon, 2 Oct 2006 12:52:50 +0200 From: To: freebsd-geom@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) Sensitivity: Normal X-Origination-IP: from 145.85.150.75 by webmail-130.home.nl; Mon, 2 Oct 2006 12:52:50 +0200 X-AtHome-MailScanner-Information: Neem contact op met support@home.nl voor meer informatie X-AtHome-MailScanner: Found to be clean Subject: FreeBSD 6.3 Raid1 (geom) configuration problem with multiple partitions 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: Mon, 02 Oct 2006 10:52:53 -0000 Hi there, I recently switched using FreeBSD on my server (used Linux before). I've a problem with configuring geom as raid1 for my two identical hd's. I started with installing a FreeBSD 6.3 on my ad0 disk. The install uses 1 slice with the default FreeBSD partition table: ad0s1a (root) ad0s1b (swap) ad0s1d (var) ad0s1e (tmp) ad0s1f (usr) Everything is working and at this point I started configuring geom with help of this: http://people.freebsd.org/~rse/mirror/. tutorial (approach1). The following commands worked like a charm (second disk is ad3): dd if=/dev/zero of=/dev/ad3 bs=512 count=79 gmirror label -v -n -b round-robin gm0 /dev/ad3 gmirror load fdisk -v -B -I /dev/mirror/gm0 bsdlabel -w -B /dev/mirror/gm0s1 bsdlabel -e /dev/mirror/gm0s1 But when I look at /dev/mirror/ it only created 2 partitions, gm0s1a and gm0s1c so the following commands: newfs -U /dev/mirror/gm0s1* mount /dev/mirror/gm0s1* /mnt/* Will not work for gm0s1d (var) gm0s1e (tmp) and gm0s1f (usr). Does anybody know what I am doing wrong? ps. Please be gentle, i'm just a newbie ;)