From owner-freebsd-stable@FreeBSD.ORG Mon Mar 26 00:34:15 2007 Return-Path: X-Original-To: freebsd-stable@freebsd.org Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 43D7916A405 for ; Mon, 26 Mar 2007 00:34:15 +0000 (UTC) (envelope-from ivoras@fer.hr) Received: from ls405.t-com.hr (ls405.t-com.hr [195.29.150.135]) by mx1.freebsd.org (Postfix) with ESMTP id C45EC13C45A for ; Mon, 26 Mar 2007 00:34:14 +0000 (UTC) (envelope-from ivoras@fer.hr) Received: from ls248.t-com.hr (ls248.t-com.hr [195.29.150.237]) by ls405.t-com.hr (Postfix) with ESMTP id 6329A144C27; Mon, 26 Mar 2007 02:34:13 +0200 (CEST) Received: from ls248.t-com.hr (ls248.t-com.hr [127.0.0.1]) by ls248.t-com.hr (Qmlai) with ESMTP id 5F5C9D5004A; Mon, 26 Mar 2007 02:34:13 +0200 (CEST) Received: from ls248.t-com.hr (ls248.t-com.hr [127.0.0.1]) by ls248.t-com.hr (Qmlai) with ESMTP id 44465D50047; Mon, 26 Mar 2007 02:34:13 +0200 (CEST) X-Envelope-Sender-Info: g5URFa92gX9K/Rg9VFA/rBmFau/+LemdQRJdYmL0CGw6StkSH1j7CT0zJW9WjWDV X-Envelope-Sender: ivoras@fer.hr Received: from [10.0.0.100] (89-172-38-156.adsl.net.t-com.hr [89.172.38.156]) by ls248.t-com.hr (Qmali) with ESMTP id CC0D85E004A; Mon, 26 Mar 2007 02:34:12 +0200 (CEST) Message-ID: <46071504.4050303@fer.hr> Date: Mon, 26 Mar 2007 02:34:12 +0200 From: Ivan Voras User-Agent: Thunderbird 1.5.0.10 (Windows/20070221) MIME-Version: 1.0 To: Joe Kelsey References: <4606E163.9000506@zircon.seattle.wa.us> <4607100B.5050807@zircon.seattle.wa.us> In-Reply-To: <4607100B.5050807@zircon.seattle.wa.us> X-Enigmail-Version: 0.94.1.2 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enigCB83542A380996215AD8D0C0" Cc: freebsd-stable@freebsd.org Subject: Re: gmirror Issues X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 26 Mar 2007 00:34:15 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enigCB83542A380996215AD8D0C0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Joe Kelsey wrote: > The major thing that needs doing is a detailed explanation of how to > take two brand new disk drives and mirror them. Nothing in the > documentation discusses this. Do you have to create file systems on th= e This is actually easy: 1. Create everything you need on the first drive (ok, you don't need *everything* - just the base system and partitions) 2. gmirror label myraid mydrive0 3. gmirror insert myraid mydrive1 This way, mydrive0 will be the "master", which would be replicated on the mydrive1 hereafter. After the first sync is complete, they will be equal and mirrored. If the mirror is your root drive, don't forget to fixup fstab and add geom_mirror module to the loader before rebooting. --------------enigCB83542A380996215AD8D0C0 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.4 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFGBxUEldnAQVacBcgRAhsnAKCgNcnLcBnZjVTwc/OVClIL83NaHwCgnUM9 9gsTPUWYbXx/3Mr/vk6zV5w= =5PjO -----END PGP SIGNATURE----- --------------enigCB83542A380996215AD8D0C0--