From owner-freebsd-geom@FreeBSD.ORG Mon Apr 4 06:40:02 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 53D2116A4CE for ; Mon, 4 Apr 2005 06:40:02 +0000 (GMT) Received: from darkness.comp.waw.pl (darkness.comp.waw.pl [195.117.238.136]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6A95643D66 for ; Mon, 4 Apr 2005 06:39:56 +0000 (GMT) (envelope-from pjd@darkness.comp.waw.pl) Received: by darkness.comp.waw.pl (Postfix, from userid 1009) id 57975ACAFE; Mon, 4 Apr 2005 08:38:44 +0200 (CEST) Date: Mon, 4 Apr 2005 08:38:44 +0200 From: Pawel Jakub Dawidek To: Christian Caron Message-ID: <20050404063844.GF837@darkness.comp.waw.pl> References: <4250A400.50200@videotron.ca> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="dZMKKfncsnDOeEps" Content-Disposition: inline In-Reply-To: <4250A400.50200@videotron.ca> User-Agent: Mutt/1.4.2i X-PGP-Key-URL: http://people.freebsd.org/~pjd/pjd.asc X-OS: FreeBSD 5.2.1-RC2 i386 cc: freebsd-geom@freebsd.org Subject: Re: 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 06:40:02 -0000 --dZMKKfncsnDOeEps Content-Type: text/plain; charset=iso-8859-2 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sun, Apr 03, 2005 at 10:18:40PM -0400, Christian Caron wrote: +> Hi, +>=20 +> my setup is: +>=20 +> - one disk ad0 (15GB) with FreeBSD 5.3 installed +> - two identical disks ad2 and ad3 (15GB) with no data on it +>=20 +> I just want to have a mirrored data disk (consisting of two identical=20 +> disks). +>=20 +> I found http://people.freebsd.org/~rse/mirror/, but it applies for=20 +> mirroring a system disk. +>=20 +> I went through: +>=20 +> 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=3D"YES"' in /boot/loader.conf +>=20 +> It loads ok and if I type: +>=20 +> "gmirror list" +>=20 +> I get the "Providers" and "Consumers" list which all looks ok. +>=20 +> But how do I access the mirror? Where can I put my data? +>=20 +> I tried adding /dev/mirror/gm0s1 to /etc/fstab, but it dies when loading= ... +>=20 +> Any hints? Just to be sure: did you create file system on it? --=20 Pawel Jakub Dawidek http://www.wheel.pl pjd@FreeBSD.org http://www.FreeBSD.org FreeBSD committer Am I Evil? Yes, I Am! --dZMKKfncsnDOeEps Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (FreeBSD) iD8DBQFCUOD0ForvXbEpPzQRAofbAJ0aNkHkE2/dj0Rg0iJE31SKYJ2xcgCcCTo3 pr2bnfsJeAjsTqqhYw64Crg= =a94H -----END PGP SIGNATURE----- --dZMKKfncsnDOeEps--