From owner-freebsd-geom@FreeBSD.ORG Mon Apr 4 02:18:36 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 60A7516A4CF for ; Mon, 4 Apr 2005 02:18:36 +0000 (GMT) Received: from relais.videotron.ca (relais.videotron.ca [24.201.245.36]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0B1B043D2D for ; Mon, 4 Apr 2005 02:18:36 +0000 (GMT) (envelope-from christian.caron@videotron.ca) Received: from [24.200.155.207] by VL-MO-MR007.ip.videotron.ca (iPlanet Messaging Server 5.2 HotFix 1.21 (built Sep 8 2003)) with ESMTP id <0IEE00FJXH2Z0A@VL-MO-MR007.ip.videotron.ca> for freebsd-geom@freebsd.org; Sun, 03 Apr 2005 22:18:35 -0400 (EDT) Date: Sun, 03 Apr 2005 22:18:40 -0400 From: Christian Caron To: freebsd-geom@freebsd.org Message-id: <4250A400.50200@videotron.ca> MIME-version: 1.0 Content-type: text/plain; charset=ISO-8859-1; format=flowed Content-transfer-encoding: 7BIT X-Accept-Language: fr, en User-Agent: Mozilla Thunderbird 1.0 (Windows/20041206) Subject: mirroring two data disks (no system files on them) 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, 04 Apr 2005 02:18:36 -0000 Hi, my setup is: - one disk ad0 (15GB) with FreeBSD 5.3 installed - two identical disks ad2 and ad3 (15GB) with no data on it I just want to have a mirrored data disk (consisting of two identical disks). I found http://people.freebsd.org/~rse/mirror/, but it applies for mirroring a system disk. I went through: gmirror label -v -n -b round-robin gm0s1 /dev/ad3s1 gmirror load gmirror configure -a gm0s1 gmirror insert gm0s1 /dev/ad2s1 add 'geom_mirror_load="YES"' in /boot/loader.conf It loads ok and if I type: "gmirror list" I get the "Providers" and "Consumers" list which all looks ok. But how do I access the mirror? Where can I put my data? I tried adding /dev/mirror/gm0s1 to /etc/fstab, but it dies when loading... Any hints? Christian