From owner-freebsd-stable@FreeBSD.ORG Fri Jan 21 12:13:45 2011 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 41EE81065670 for ; Fri, 21 Jan 2011 12:13:45 +0000 (UTC) (envelope-from florian@wagner-flo.net) Received: from umbracor.wagner-flo.net (umbracor.wagner-flo.net [213.165.81.202]) by mx1.freebsd.org (Postfix) with ESMTP id 03A798FC20 for ; Fri, 21 Jan 2011 12:13:44 +0000 (UTC) Received: from auedv3.syscomp.de (umbracor.wagner-flo.net [127.0.0.1]) by umbracor.wagner-flo.net (Postfix) with ESMTPSA id A24A43C821C7 for ; Fri, 21 Jan 2011 12:58:35 +0100 (CET) Date: Fri, 21 Jan 2011 12:58:31 +0100 From: Florian Wagner To: freebsd-stable@freebsd.org Message-ID: <20110121125831.3d88f898@auedv3.syscomp.de> In-Reply-To: References: <57200BF94E69E54880C9BB1AF714BBCBDD3043@w2003s01.double-l.local> X-Mailer: Claws Mail 3.7.6 (GTK+ 2.20.1; x86_64-pc-linux-gnu) Mime-Version: 1.0 Content-Type: multipart/signed; micalg=PGP-SHA1; boundary="Sig_/n_gL3EQZ58QBp2NSYg1Sebl"; protocol="application/pgp-signature" Subject: Re: Gpart and gmirror 8.2 from 18 januari 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: Fri, 21 Jan 2011 12:13:45 -0000 --Sig_/n_gL3EQZ58QBp2NSYg1Sebl Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable > I haven't tried it but I think from the GPT specification that it=20 > records where the secondary table is, so maybe you could do it the > other way around: first do a gmirror configuration, then create GPT > partitions within the gmirror device (i.e. on /dev/mirror/gm0, not > on /dev/ad4). I'm using this configuration at work on some of our Linux servers. A md software mirror of two devices with superblock at the end of the device (md metadata format 0.90 or 1.0) and GPT partitions created within the mirror. Makes drive replacements really easy: No need to copy partition table, rebuild multiple partition mirrors and remember to run grub-install on the new drive. So in theory this could work in FreeBSD, too. Practice may be different... Regards Florian Wagner --Sig_/n_gL3EQZ58QBp2NSYg1Sebl Content-Type: application/pgp-signature; name=signature.asc Content-Disposition: attachment; filename=signature.asc -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (GNU/Linux) iEYEARECAAYFAk05dOcACgkQLvW/2gp2pPz3NgCdF5qAgy2/XtE2d+u7M/SpAusj 3iYAn2KMWtvPzkfS+ktmUWP79+83cFlI =PpvB -----END PGP SIGNATURE----- --Sig_/n_gL3EQZ58QBp2NSYg1Sebl--