From owner-freebsd-doc@FreeBSD.ORG Mon Jun 4 09:32:25 2012 Return-Path: Delivered-To: doc@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 4E0D81065672 for ; Mon, 4 Jun 2012 09:32:25 +0000 (UTC) (envelope-from hrs@FreeBSD.org) Received: from mail.allbsd.org (gatekeeper.allbsd.org [IPv6:2001:2f0:104:e001::32]) by mx1.freebsd.org (Postfix) with ESMTP id 341F58FC0A for ; Mon, 4 Jun 2012 09:32:23 +0000 (UTC) Received: from alph.allbsd.org (p4242-ipbf1504funabasi.chiba.ocn.ne.jp [118.7.211.242]) (authenticated bits=128) by mail.allbsd.org (8.14.5/8.14.5) with ESMTP id q549W7i4043834; Mon, 4 Jun 2012 18:32:17 +0900 (JST) (envelope-from hrs@FreeBSD.org) Received: from localhost (localhost [IPv6:::1]) (authenticated bits=0) by alph.allbsd.org (8.14.4/8.14.4) with ESMTP id q549W56W002302; Mon, 4 Jun 2012 18:32:07 +0900 (JST) (envelope-from hrs@FreeBSD.org) Date: Mon, 04 Jun 2012 18:23:31 +0900 (JST) Message-Id: <20120604.182331.536549548943660058.hrs@allbsd.org> To: wblock@wonkity.com From: Hiroki Sato In-Reply-To: References: X-PGPkey-fingerprint: BDB3 443F A5DD B3D0 A530 FFD7 4F2C D3D8 2793 CF2D X-Mailer: Mew version 6.4.50 on Emacs 23.4 / Mule 6.0 (HANACHIRUSATO) Mime-Version: 1.0 Content-Type: Multipart/Signed; protocol="application/pgp-signature"; micalg=pgp-sha1; boundary="--Security_Multipart(Mon_Jun__4_18_23_31_2012_181)--" Content-Transfer-Encoding: 7bit X-Virus-Scanned: clamav-milter 0.97.4 at gatekeeper.allbsd.org X-Virus-Status: Clean X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.2.7 (mail.allbsd.org [133.31.130.32]); Mon, 04 Jun 2012 18:32:18 +0900 (JST) X-Spam-Status: No, score=-98.8 required=13.0 tests=CONTENT_TYPE_PRESENT, RCVD_IN_RP_RNBL,USER_IN_WHITELIST autolearn=no version=3.3.2 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on gatekeeper.allbsd.org Cc: doc@FreeBSD.org Subject: Re: Handbook mirroring section X-BeenThere: freebsd-doc@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Documentation project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 04 Jun 2012 09:32:25 -0000 ----Security_Multipart(Mon_Jun__4_18_23_31_2012_181)-- Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Hi Warren, Warren Block wrote in : wb> On Thu, 17 May 2012, Warren Block wrote: wb> wb> > Summary: Handbook mirror example broken, new rewrite here, feedback wb> > desired before commit. wb> wb> Updated: wb> wb> http://www.wonkity.com/~wblock/mirror/book.html wb> http://www.wonkity.com/~wblock/mirror/geom-chapter.diff wb> wb> Changes include aligning partitions to 4K and some additional detail. I tried to rewrite to use the system drive and a new one based on your patch and a material which I used for an in-house training: http://people.allbsd.org/~hrs/FreeBSD/geom-mirror.html http://people.allbsd.org/~hrs/FreeBSD/geom-chapter.20120604-1.diff I think the most difficult part of this procedure is copying the partition table, but is this version still difficult for the average user? I intentionally removed labeling and alignment handling because I feel they are rather complex when explaining how to convert a single-disk system to one with a mirrored disk containing the exactly same layout and data, though I fully agree that they are also useful and important. At least, labels of "alpha" and "beta" would be inefficient because "gmirror status" does not show the labels as the provider names, and gmirror member disks are recognized even if /dev/ada0 is moved to /dev/ada6, for example. -- Hiroki ----Security_Multipart(Mon_Jun__4_18_23_31_2012_181)-- Content-Type: application/pgp-signature Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (FreeBSD) iEYEABECAAYFAk/MfpMACgkQTyzT2CeTzy1b4ACeLS4SVU0ZH641TWDUgeI+0+ik N2AAn0sWHd9Alcal5QvtgRlfn/eJL1D+ =8VMb -----END PGP SIGNATURE----- ----Security_Multipart(Mon_Jun__4_18_23_31_2012_181)----