Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 4 Apr 2005 08:38:44 +0200
From:      Pawel Jakub Dawidek <pjd@FreeBSD.org>
To:        Christian Caron <christian.caron@videotron.ca>
Cc:        freebsd-geom@freebsd.org
Subject:   Re: mirroring two data disks (no system files on them)
Message-ID:  <20050404063844.GF837@darkness.comp.waw.pl>
In-Reply-To: <4250A400.50200@videotron.ca>
References:  <4250A400.50200@videotron.ca>

next in thread | previous in thread | raw e-mail | index | archive | help

[-- Attachment #1 --]
On Sun, Apr 03, 2005 at 10:18:40PM -0400, Christian Caron wrote:
+> 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?

Just to be sure: did you create file system on it?

-- 
Pawel Jakub Dawidek                       http://www.wheel.pl
pjd@FreeBSD.org                           http://www.FreeBSD.org
FreeBSD committer                         Am I Evil? Yes, I Am!

[-- Attachment #2 --]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (FreeBSD)

iD8DBQFCUOD0ForvXbEpPzQRAofbAJ0aNkHkE2/dj0Rg0iJE31SKYJ2xcgCcCTo3
pr2bnfsJeAjsTqqhYw64Crg=
=a94H
-----END PGP SIGNATURE-----

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050404063844.GF837>